Revision 8da3803c
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/e4/DefinedTermEditorE4.java | ||
---|---|---|
231 | 231 |
|
232 | 232 |
@PreDestroy |
233 | 233 |
public void dispose() { |
234 |
if(conversation!=null){ |
|
235 |
conversation.unregisterForDataStoreChanges(this); |
|
236 |
conversation.close(); |
|
237 |
} |
|
234 | 238 |
if(input!=null){ |
235 | 239 |
input.dispose(); |
236 | 240 |
} |
Also available in: Unified diff
ref #6925 Dispose conversation and entity session when closing editors