diff --git a/src/studio/ui/StudioWindow.java b/src/studio/ui/StudioWindow.java index 189d389c..693efa7d 100755 --- a/src/studio/ui/StudioWindow.java +++ b/src/studio/ui/StudioWindow.java @@ -833,7 +833,7 @@ public void close() { if (allWindows.size() == 1) { quit(); } else { - log.info("SW: Before close tab"); +// log.info("SW: Before close tab"); boolean result = execute(editorTab -> editorTab.getEditorsPanel().closeTab(editorTab)); if (!result) return; log.info("StudioWindow closing"); diff --git a/test-integration/studio/ui/EditorTest.java b/test-integration/studio/ui/EditorTest.java index 16ca8e25..40e2d444 100644 --- a/test-integration/studio/ui/EditorTest.java +++ b/test-integration/studio/ui/EditorTest.java @@ -122,6 +122,7 @@ protected boolean isMatching(StudioWindow f) { //tear down newFrameFixture.close(); + pause(50, TimeUnit.MILLISECONDS); // wait as closure happens asynchronously optionPaneButtonClick("No"); pause(new Condition("Wait till new window is closed") {