Ignore:
Timestamp:
2010-01-17T11:56:07+01:00 (15 years ago)
Author:
jttt
Message:

Removed ToggleDialog.tearDown(). All listeners should be unregistered in hideNotify()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapFrame.java

    r2657 r2869  
    199199        // MapFrame gets destroyed when the last layer is removed, but the status line background
    200200        // thread that collects the information doesn't get destroyed automatically.
    201         if(statusLine.thread == null) return;
    202         try {
    203             statusLine.thread.interrupt();
    204         } catch (Exception e) {}
     201        if(statusLine.thread != null) {
     202            try {
     203                statusLine.thread.interrupt();
     204            } catch (Exception e) {
     205                e.printStackTrace();
     206            }
     207        }
    205208    }
    206209
     
    214217    public void initializeDialogsPane() {
    215218        dialogsPanel.initialize(allDialogs);
    216     }
    217 
    218     /**
    219      *
    220      */
    221     public void tearDownDialogsPane() {
    222         dialogsPanel.tearDown();
    223219    }
    224220
Note: See TracChangeset for help on using the changeset viewer.