mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not assert isResumed if disconnected from VM
This commit is contained in:
@@ -104,7 +104,11 @@ public abstract class SuspendContextImpl implements SuspendContext {
|
||||
}
|
||||
|
||||
private void assertNotResumed() {
|
||||
LOG.assertTrue(!myIsResumed, "Cannot access SuspendContext. SuspendContext is resumed.");
|
||||
if (myIsResumed) {
|
||||
if (myDebugProcess.isAttached()) {
|
||||
LOG.assertTrue(false, "Cannot access SuspendContext. SuspendContext is resumed.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user