Skip to content

Commit d60cc9b

Browse files
fix download remove all listeners (#1313)
1 parent 53e653b commit d60cc9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

enjoy/src/preload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ contextBridge.exposeInMainWorld("__ENJOY_APP__", {
628628
cancelAll: () => ipcRenderer.invoke("download-cancel-all"),
629629
dashboard: () => ipcRenderer.invoke("download-dashboard"),
630630
removeAllListeners: () =>
631-
ipcRenderer.removeAllListeners("download-on-error"),
631+
ipcRenderer.removeAllListeners("download-on-state"),
632632
},
633633
cacheObjects: {
634634
get: (key: string) => {

0 commit comments

Comments
 (0)