Project

General

Profile

« Previous | Next » 

Revision 692fd528

Added by Patrick Plitzner over 6 years ago

ref #6925 Set conversation and cdmEntitySession to null for dispose

View differences:

eu.etaxonomy.taxeditor.molecular/src/main/java/eu/etaxonomy/taxeditor/molecular/editor/e4/AlignmentEditorE4.java
376 376

  
377 377

  
378 378
    @PreDestroy
379
	public void dispose() {
380
		Display.getCurrent().removeFilter(SWT.FocusIn, ACTION_UPDATER);
381
		Display.getCurrent().removeFilter(SWT.FocusOut, ACTION_UPDATER);
382
		CLIPBOARD.dispose();
379
    public void dispose() {
380
        Display.getCurrent().removeFilter(SWT.FocusIn, ACTION_UPDATER);
381
        Display.getCurrent().removeFilter(SWT.FocusOut, ACTION_UPDATER);
382
        CLIPBOARD.dispose();
383 383
        input.dispose();
384
	}
384

  
385
        if(conversationHolder!=null){
386
            conversationHolder.close();
387
            conversationHolder = null;
388
        }
389
        if(input!=null){
390
            input.dispose();
391
        }
392
    }
385 393

  
386 394

  
387 395
	private void updateStatusBar() {

Also available in: Unified diff