Commit cb596bee authored by Mathijs den Burger's avatar Mathijs den Burger

CMS7-7495: set observer to null after it has been unregistered to prevent duplicate unregistration

parent 2f1ef84b
......@@ -227,6 +227,7 @@ public class ObservableTreeModel extends DefaultTreeModel implements IJcrTreeMod
}
if (observer != null) {
observationContext.unregisterObserver(observer);
observer = null;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment