Skip to content

Commit

Permalink
Stop removing is-mutation-observer-enabled (#2449)
Browse files Browse the repository at this point in the history
This prevents sendSync from locking the application when no listener is available.
  • Loading branch information
kylegundersen authored Feb 14, 2022
1 parent 87833ff commit 8a14af6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/adblocker-electron/adblocker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export class BlockingContext {
if (this.blocker.config.loadCosmeticFilters === true) {
this.session.setPreloads(this.session.getPreloads().filter((p) => p !== PRELOAD_PATH));
ipcMain.removeListener('get-cosmetic-filters', this.onGetCosmeticFilters);
ipcMain.removeListener('is-mutation-observer-enabled', this.onIsMutationObserverEnabled);
}
}
}
Expand Down

0 comments on commit 8a14af6

Please sign in to comment.