- Timestamp:
- 2024-01-15T22:03:41+01:00 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java
r18937 r18938 151 151 map.removeToggleDialog(dialog); 152 152 } 153 dialog.destroy(); 153 if (!dialog.isDestroyed()) { 154 dialog.destroy(); 155 } 154 156 } 155 157 } … … 424 426 cancelLoadingImage(); 425 427 super.destroy(); 428 // Ensure that this dialog is removed from memory 429 destroyInstance(); 430 } 431 432 private boolean isDestroyed() { 433 return dialogsPanel == null; 426 434 } 427 435
Note:
See TracChangeset
for help on using the changeset viewer.