@PreDestroy public void destroy() { definitionPaletteItemWidgetInstance.destroyAll(); definitionPaletteGroupWidgetInstance.destroyAll(); category = null; itemMouseDownCallback = null; } }
@PreDestroy public void destroy() { preferencesHolders.destroyAll(); } }
@PreDestroy public void destroy() { dateTimePickerCells.destroyAll(); } }
@PreDestroy public void destroy() { liveSearchSelectorItems.destroyAll(); } }
@PreDestroy @Override public void destroy() { super.destroy(); flowActionsToolboxFactories.destroyAll(); morphActionsToolboxFactories.destroyAll(); bpmnCommonActionsToolboxFactories.destroyAll(); } }
@PreDestroy @Override public void destroy() { super.destroy(); flowActionsToolboxFactories.destroyAll(); morphActionsToolboxFactories.destroyAll(); commonActionsToolboxFactories.destroyAll(); } }
public void destroy() { initializers.forEach(SessionInitializer::destroy); initializers.clear(); initializerInstances.destroyAll(); }
@PreDestroy public void destroy() { items.clear(); navigatorItemInstances.destroyAll(); }
@PreDestroy public void destroy() { clearCommands(); types.clear(); sessionCommands.destroyAll(); }
@PreDestroy public void clear() { view.clear(); groupsInstance.destroyAll(); } }
protected void destroySession() { //Release existing SessionPresenter editorSessionPresenter.ifPresent(session -> { session.destroy(); editorSessionPresenter = Optional.empty(); }); viewerSessionPresenter.ifPresent(session -> { session.destroy(); viewerSessionPresenter = Optional.empty(); }); editorSessionPresenterInstances.destroyAll(); viewerSessionPresenterInstances.destroyAll(); }
@PreDestroy public void clear() { view.clear(); groupsInstance.destroyAll(); } }
@Override public void clear() { multiScreenViews.destroyAll(); parts.values().forEach(s -> content.removeChild(s.getElement())); parts.clear(); }
@Override public void clear() { multiScreenViews.destroyAll(); parts.values().forEach(s -> content.removeChild(s.getElement())); parts.clear(); }
private void checkClear() { verify(view).clear(); verify(editorInstance).destroyAll(); } }
private void verifyClear() { verify(view).clear(); verify(instance).destroyAll(); } }
private void checkClear() { verify(view).clear(); verify(editorInstance).destroyAll(); } }
@Test public void testDestroy() { tested.destroy(); verify(viewInstances, times(1)).destroyAll(); }
@Test public void testDestroy() { tested.destroy(); verify(preferencesHolders, times(1)).destroyAll(); } }
@Test public void testDestroy() { loadContent(); presenter.destroy(); verify(editorFieldLayoutComponents).destroyAll(); }