- fixed potential hibernate exception when trying to close the editor (check if...
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / dataimport / DataImportEditor.java
index ade771dc047acf51cc4be31fa65f55a487b0df0f..6e460a71995d208f712b487043f934c9ddd899cf 100644 (file)
@@ -162,7 +162,7 @@ IConversationEnabled, IPartContentHasDetails, IPartContentHasSupplementalData, I
      */
     @Override
     public void workbenchShutdown(IMemento memento, IProgressMonitor monitor) {
-        if(conversation!=null &&!conversation.isClosed()) {
+        if(conversation!=null && conversation.isBound() && !conversation.isClosed()) {
             conversation.close();
         }
     }