changeset 64:c9c6c6c327ea

Dispose BindingContext on Page dispose
author Omair Majid <omajid@redhat.com>
date Thu, 02 Jan 2014 11:40:46 -0500
parents fb4fcb5bb4ac
children 1f27354dcdcf
files src/com/redhat/thermostat/plugin/eclipse/editor/ExtensionEditPage.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/redhat/thermostat/plugin/eclipse/editor/ExtensionEditPage.java	Thu Jan 02 11:35:03 2014 -0500
+++ b/src/com/redhat/thermostat/plugin/eclipse/editor/ExtensionEditPage.java	Thu Jan 02 11:40:46 2014 -0500
@@ -53,7 +53,9 @@
 
     @Override
     public void dispose() {
-        // no-op
+        if (bindingContext != null) {
+            bindingContext.dispose();
+        }
     }
 
     @Override