[Bug]: multiple event loop thread after reload page cause 'napi_call_threadsafe_function' event missing #30122
Closed
3 tasks done
Labels
13-x-y
blocked/need-repro
Needs a test case to reproduce the bug
bug 🪲
has-repro-comment
Issue has repro in comments
Preflight Checklist
Electron Version
13.1.6
What operating system are you using?
Windows
Operating System Version
Windows 10 家庭中文版 version 20H2
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
After 'napi_call_threadsafe_function' in worker thread, reander thread will call 'NAPIThreadsafeFunctionCallJS' ASAP after reload window
Actual Behavior
After 'napi_call_threadsafe_function' in worker thread, reander thread not call 'NAPIThreadsafeFunctionCallJS' any more after reload window
Testcase Gist URL
No response
Additional Information
seems like multiple electron event loop cause missmatch writer and reader
addon code here:
js code here:
The text was updated successfully, but these errors were encountered: