From 256331cfc571f8d4730f4a29052eb91f6dcdabc4 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jun 2008 12:25:05 -0400 Subject: [PATCH] Close the connection when we receive the "stopping" status. Fixes bug://report/125 * Source/DebuggerConnection.m: (refreshStatus): The "stopped" and "stopping" statuses should have the same effect now --- Source/DebuggerConnection.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DebuggerConnection.m b/Source/DebuggerConnection.m index 8bcbf8d..7b8bdd4 100644 --- a/Source/DebuggerConnection.m +++ b/Source/DebuggerConnection.m @@ -160,7 +160,7 @@ { [self updateStackTraceAndRegisters]; } - else if ([status isEqualToString:@"stopped"]) + else if ([status isEqualToString:@"stopped"] || [status isEqualToString:@"stopping"]) { connected = NO; [socket close]; -- 2.22.5