Changeset 10368 in osm for applications/viewer/jmapviewer


Ignore:
Timestamp:
2008-09-01T10:18:59+02:00 (16 years ago)
Author:
stotz
Message:

Bugfix: Timing problem with instance variable as reported in #1438

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JobDispatcher.java

    r9846 r10368  
    2525        public static JobDispatcher getInstance() {
    2626                if (instance == null)
    27                         instance = new JobDispatcher();
     27                        new JobDispatcher();
    2828                return instance;
    2929        }
    3030
    3131        private JobDispatcher() {
     32                instance = this;
    3233                addWorkerThread().firstThread = true;
    3334        }
Note: See TracChangeset for help on using the changeset viewer.