[commit] r2777 - trunk/GME/Gme
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Mon Jul 8 13:30:57 CDT 2019
Author: ksmyth
Date: Mon Jul 8 13:30:57 2019
New Revision: 2777
Log:
GmeView: selectedContextConnection is invalidated on Reset(). Try to fix crash cd83375c-2a62-4d5d-af2c-baf271a7e056
Modified:
trunk/GME/Gme/GMEView.cpp
Modified: trunk/GME/Gme/GMEView.cpp
==============================================================================
--- trunk/GME/Gme/GMEView.cpp Mon Jul 8 13:30:53 2019 (r2776)
+++ trunk/GME/Gme/GMEView.cpp Mon Jul 8 13:30:57 2019 (r2777)
@@ -2178,7 +2178,11 @@
m_lstSelect.clear(); // clear the contents of these buffers [will be refilled soon]
m_lstUnselect.clear();
- contextAnnotation = 0; contextSelection = 0; contextPort = 0;// these will be recalculated also
+ // these will be recalculated also
+ contextAnnotation = nullptr;
+ contextSelection = nullptr;
+ contextPort = nullptr;
+ selectedContextConnection = nullptr;
children.RemoveAll();
annotators.RemoveAll();
connections.RemoveAll();
More information about the gme-commit
mailing list