check myProject.isDisposed

This commit is contained in:
Vladimir Krivosheev
2014-07-29 12:36:49 +02:00
parent ef2e17e489
commit a25ce83b96
@@ -847,7 +847,9 @@ public class XDebugSessionImpl implements XDebugSession {
if (myStopped) return;
myDebugProcess.stop();
myProject.getMessageBus().syncPublisher(XDebuggerManager.TOPIC).processStopped(myDebugProcess);
if (!myProject.isDisposed()) {
myProject.getMessageBus().syncPublisher(XDebuggerManager.TOPIC).processStopped(myDebugProcess);
}
myCurrentPosition = null;
myCurrentExecutionStack = null;
myCurrentStackFrame = null;