mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
BreakpointManager.loadState: avoid exception from TaskVcsTest tearDown
This commit is contained in:
@@ -307,12 +307,7 @@ public class BreakpointManager {
|
||||
for (Element element : parentNode.getChildren()) {
|
||||
myOriginalBreakpointsNodes.put(element.getName(), element.clone());
|
||||
}
|
||||
if (myProject.isOpen()) {
|
||||
doRead(parentNode);
|
||||
}
|
||||
else {
|
||||
myStartupManager.registerPostStartupActivity(() -> doRead(parentNode));
|
||||
}
|
||||
myStartupManager.runWhenProjectIsInitialized(() -> doRead(parentNode));
|
||||
}
|
||||
|
||||
private void doRead(@NotNull final Element parentNode) {
|
||||
|
||||
Reference in New Issue
Block a user