Procházet zdrojové kódy

Don't async the close as we disconnect too quickly.

Change-Id: Ia2f5d938ff8a4f3cdfe63199b92b08a2c4f0994f
Reviewed-on: http://gerrit.dmdirc.com/3815
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
pull/1/head
Greg Holmes před 9 roky
rodič
revize
86de7ffa19
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/com/dmdirc/FrameContainer.java

+ 1
- 1
src/com/dmdirc/FrameContainer.java Zobrazit soubor

@@ -375,7 +375,7 @@ public abstract class FrameContainer {
375 375
      * Closes this container (and its associated frame).
376 376
      */
377 377
     public void close() {
378
-        eventBus.publishAsync(new FrameClosingEvent(this));
378
+        eventBus.publish(new FrameClosingEvent(this));
379 379
         for (FrameCloseListener listener : listeners.get(FrameCloseListener.class)) {
380 380
             listener.windowClosing(this);
381 381
             listeners.remove(FrameCloseListener.class, listener);

Načítá se…
Zrušit
Uložit