GDBLocalProcess.st
changeset 194 312d96017653
parent 193 2aa0074479d9
child 195 17a6f1d1cb22
--- a/GDBLocalProcess.st	Tue Jun 18 11:04:46 2019 +0100
+++ b/GDBLocalProcess.st	Wed Jun 19 12:02:49 2019 +0100
@@ -178,11 +178,15 @@
 exited: status
     "Called when spawn GDB process terminates for whatever reason"
     pid := nil.
-    connection released: status
+
+    "/ connection may be nil if GDBProcess instance is used
+    "/ on it own, without GDBConnection (such as in GDBMIDebugger)
+    connection notNil ifTrue:[
+        connection released: status
+    ].
 
     "Created: / 20-06-2014 / 21:35:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 12-01-2018 / 21:50:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified (comment): / 17-10-2018 / 22:30:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 19-06-2019 / 10:50:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !GDBLocalProcess methodsFor:'testing'!