Skip to content

Commit 184cf92

Browse files
committed
Mark proxy finished *after* it sends the exit command, otherwise the exit is not send (patch by Martin Schovanek)
1 parent 14b57bb commit 184cf92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/rubyforge/debugcommons/RubyDebuggerProxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,6 @@ public void finish(final boolean forced) {
447447
// TBD rather detach
448448
sendExit();
449449
}
450-
finished = true;
451450
PROXIES.remove(RubyDebuggerProxy.this);
452451
if (forced) {
453452
sendExit();
@@ -464,6 +463,7 @@ public void finish(final boolean forced) {
464463
target.getProcess().destroy();
465464
}
466465
}
466+
finished = true;
467467
}
468468
fireDebugEvent(RubyDebugEvent.createTerminateEvent());
469469
}

0 commit comments

Comments
 (0)