Skip to content

Commit

Permalink
Fix cleaning up window (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitf authored Aug 28, 2024
1 parent 125230e commit d2c3c73
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ export default function contextMenu(options = {}) {
const disposeMenu = create(win, options);

const disposable = () => {
win.webContents.off('destroyed', disposable);
disposeMenu();
};

Expand Down

0 comments on commit d2c3c73

Please sign in to comment.