Skip to content

Commit

Permalink
restoring logging for test debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmipt committed Jan 5, 2024
1 parent ea4a71a commit ac8c75b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/studio/ui/StudioWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -835,9 +835,11 @@ public void close() {
} else {
boolean result = execute(editorTab -> editorTab.getEditorsPanel().closeTab(editorTab));
if (!result) return;
log.info("StudioWindow closing");
// closing the last tab would trigger this code again
if (allWindows.contains(this)) {
allWindows.remove(this);
log.info("StudioWindow disposing");
dispose();
refreshAllMenus();
}
Expand Down

0 comments on commit ac8c75b

Please sign in to comment.