瀏覽代碼

Unsubscribe the status manager when frames close.

pull/311/head
Chris Smith 9 年之前
父節點
當前提交
7816913a78
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/com/dmdirc/FrameContainer.java

+ 1
- 0
src/com/dmdirc/FrameContainer.java 查看文件

@@ -346,6 +346,7 @@ public abstract class FrameContainer {
346 346
      * Closes this container (and its associated frame).
347 347
      */
348 348
     public void close() {
349
+        eventBus.unsubscribe(unreadStatusManager);
349 350
         eventBus.publish(new FrameClosingEvent(this));
350 351
         eventBusManager.disconnect();
351 352
         getBackBuffer().stopAddingEvents();

Loading…
取消
儲存