You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It wasted me hours figuring out why ipcRenderer.postMessage has no effect at all. 😂
Then I read the source code and found out if contextIsolated is enabled, the function just returns silently, which I believe is a bad practice.
Describe the bug
It wasted me hours figuring out why
ipcRenderer.postMessage
has no effect at all. 😂Then I read the source code and found out if
contextIsolated
is enabled, the function just returns silently, which I believe is a bad practice.electron-toolkit/packages/preload/src/index.ts
Line 20 in 84807b9
Electron-Toolkit Version
2.0.0
Electron Version
25.6.0
Validations
The text was updated successfully, but these errors were encountered: