Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make sure old windows are disposed properly
  • Loading branch information
JakubValtar committed Jan 20, 2017
commit 3d212921b28efb991f7dee4986c698e075fa9de2
2 changes: 2 additions & 0 deletions app/src/processing/app/Mode.java
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ public void rebuildExamplesFrame() {
if (visible) {
bounds = examplesFrame.getBounds();
examplesFrame.setVisible(false);
examplesFrame.dispose();
}
examplesFrame = null;
if (visible) {
Expand Down Expand Up @@ -697,6 +698,7 @@ public void rebuildSketchbookFrame() {
if (visible) {
bounds = sketchbookFrame.getBounds();
sketchbookFrame.setVisible(false);
sketchbookFrame.dispose();
}
sketchbookFrame = null;
if (visible) {
Expand Down