diff --git a/index.js b/index.js index 979b8a1..3393445 100644 --- a/index.js +++ b/index.js @@ -374,7 +374,6 @@ export default function contextMenu(options = {}) { const disposeMenu = create(win, options); const disposable = () => { - win.webContents.off('destroyed', disposable); disposeMenu(); };