- fixed potential hibernate exception when trying to close the editor (check if...
authorPatric Plitzner <p.plitzner@bgbm.org>
Mon, 16 Jun 2014 09:39:02 +0000 (09:39 +0000)
committerPatric Plitzner <p.plitzner@bgbm.org>
Mon, 16 Jun 2014 09:39:02 +0000 (09:39 +0000)
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();
         }
     }