forked from google/perfetto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: errors when deleting process track groups
- employ a similar strategy as in the Track to cache the last known state in case it has been deleted. This ensures that continued clicking on the delete button before the track group is unrendered will not throw up assertion errors - let the track group toggle action be tolerant of non-existent track groups. This ensures that clicking on the title area of a track group before it is unredered does not throw up assertion errors - add missing "if exists" clauses to drop statements. These ensure, especially for the case of deleting a track group for a process that has a summary track, that the "no such table/view" errors are not thrown when deleting a track group Signed-off-by: Christian W. Damus <[email protected]>
- Loading branch information
Showing
4 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters