Skip to content

Commit d2c3c73

Browse files
authored
Fix cleaning up window (#183)
1 parent 125230e commit d2c3c73

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ export default function contextMenu(options = {}) {
374374
const disposeMenu = create(win, options);
375375

376376
const disposable = () => {
377-
win.webContents.off('destroyed', disposable);
378377
disposeMenu();
379378
};
380379

0 commit comments

Comments
 (0)