Skip to content

Commit

Permalink
remove content type change listener
Browse files Browse the repository at this point in the history
  • Loading branch information
ghentschke committed Feb 6, 2025
1 parent 4d560b3 commit 5b1310f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ private URIEnableCache() {

public static void stop() {
if (instance != null) {
ContentTypeManager.getInstance().removeContentTypeChangeListener(instance);
var workbench = PlatformUI.getWorkbench();
workbench.removeWindowListener(instance);
Arrays.stream(workbench.getWorkbenchWindows()).map(IWorkbenchWindow::getPages).flatMap(Arrays::stream)
Expand Down

0 comments on commit 5b1310f

Please sign in to comment.