Revision 6912d1f3
Added by Patrick Plitzner almost 10 years ago
- fixed potential hibernate exception when trying to close the editor (check if conversation is bound before closing it)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/DataImportEditor.java | ||
---|---|---|
162 | 162 |
*/ |
163 | 163 |
@Override |
164 | 164 |
public void workbenchShutdown(IMemento memento, IProgressMonitor monitor) { |
165 |
if(conversation!=null &&!conversation.isClosed()) { |
|
165 |
if(conversation!=null && conversation.isBound() && !conversation.isClosed()) {
|
|
166 | 166 |
conversation.close(); |
167 | 167 |
} |
168 | 168 |
} |
Also available in: Unified diff