-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Hi,
Seems closing tabs causes runtime assertion of an invalid iterator here :
chigraph-gui/src/centraltabview.cpp
Line 246 in f66c573
| assert((funcIter != mOpenFunctions.end() || strIter != mOpenStructs.end()) && |
The item is erased from std::map so the iterator will be invalid but you are trying to compare the iterator with the end of map, it is better to put the assertion before erasing the items.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels