ref #6925 Set conversation and cdmEntitySession to null for dispose
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / featuretree / e4 / FeatureTreeEditor.java
index a000baacfee39b24bda2617b119701d7078a52ba..3a3875357c55209187b17a5026080eb3b3d131c9 100644 (file)
@@ -209,9 +209,11 @@ public class FeatureTreeEditor implements ICdmEntitySessionEnabled, ModifyListen
        public void dispose(){
         if(conversation!=null){
             conversation.close();
+            conversation = null;
         }
         if(cdmEntitySession != null) {
             cdmEntitySession.dispose();
+            cdmEntitySession = null;
         }
        }