Ignore:
Timestamp:
2017-03-05T03:06:09+01:00 (7 years ago)
Author:
Don-vip
Message:

fix #9799 - Don't check for unread messages while upload is in progress, as upload process is then broken

File:
1 edited

Legend:

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

    r11618 r11686  
    3131import org.openstreetmap.josm.gui.util.GuiHelper;
    3232import org.openstreetmap.josm.io.ChangesetClosedException;
     33import org.openstreetmap.josm.io.MessageNotifier;
    3334import org.openstreetmap.josm.io.OsmApi;
    3435import org.openstreetmap.josm.io.OsmApiPrimitiveGoneException;
     
    235236    protected void realRun() {
    236237        try {
     238            MessageNotifier.stop();
    237239            uploadloop: while (true) {
    238240                try {
     
    293295            } else {
    294296                lastException = e;
     297            }
     298        } finally {
     299            if (MessageNotifier.PROP_NOTIFIER_ENABLED.get()) {
     300                MessageNotifier.start();
    295301            }
    296302        }
Note: See TracChangeset for help on using the changeset viewer.