Skip to content

Commit 30bc1dc

Browse files
Sorna-Sarathi-Nmickaelistria
authored andcommitted
Adding Javadoc
1 parent fc53df0 commit 30bc1dc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa/src/org/eclipse/e4/ui/swt/internal/cocoa/CocoaDarkThemeProcessor.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ public void intialize() {
5151
eventBroker.subscribe(IThemeEngine.Events.THEME_CHANGED, eventHandler);
5252
}
5353

54+
/**
55+
* Unsubscribes the {@code eventHandler} from the {@code eventBroker} to cleanup the resources
56+
*
57+
* Assumption : Both {@code eventHandler} and {@code eventBroker} are initialized and non null
58+
*/
5459
@PreDestroy
5560
public void cleanUp() {
5661
eventBroker.unsubscribe(eventHandler);

0 commit comments

Comments
 (0)