Project

General

Profile

« Previous | Next » 

Revision 9826bd7a

Added by Katja Luther over 6 years ago

avoid widget is disposed exception in details view

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmDataViewerE4.java
174 174
		rootElement = new RootElement(formFactory, body);
175 175

  
176 176
		for(Control control : body.getChildren()){
177
			control.dispose();
177
		    if (control != null && !control.isDisposed()){
178
		        control.dispose();
179
		    }
178 180
			control = null;
179 181
		}
180 182
	}

Also available in: Unified diff