mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -05:00
3be5381060
Attempts to fix the thread_safe_callback flakiness. It's unclear what the flake is about, the exit code is apparently `C0000005` or `ACCESS_VIOLATION`, pointing to an issue with memory access. My only guess is that maybe dropping the `Option<extern "C" fn ()>` is somehow checking the validity of the function pointer and since the function has been dropped, the pointer is no longer valid and sometimes points to memory that should not be accessed. So now the will explicitly drop the functions before they get deallocated. If this doesn't fix the flake then something beyond my understanding is wrong. |
||
---|---|---|
.. | ||
bench.js | ||
event_loop_integration.ts | ||
ffi_types.ts | ||
integration_tests.rs | ||
test.js | ||
thread_safe_test.js | ||
thread_safe_test_worker.js |