Browse Source

Merge pull request #409 from greboid/dev3

Unsubscribe from eventbus on dispose for AboutDialog.
pull/417/head
Chris Smith 9 years ago
parent
commit
6be9adc751

+ 6
- 0
ui_swing/src/com/dmdirc/addons/ui_swing/dialogs/about/AboutDialog.java View File

@@ -112,4 +112,10 @@ public class AboutDialog extends StandardDialog {
112 112
                 InfoItem.create("MiG Layout Version", LayoutUtil.getVersion())
113 113
         );
114 114
     }
115
+
116
+    @Override
117
+    public void dispose() {
118
+        eventBus.unsubscribe(this);
119
+        super.dispose();
120
+    }
115 121
 }

Loading…
Cancel
Save