Revert "n-api: detect deadlocks in thread-safe function"
This reverts commit d26ca06c because
it breaks running the tests in debug mode, as
v8::Isolate::GetCurrent()
is not allowed if no Isolate
is active
on the current thread.
Refs: https://github.com/nodejs/node/pull/33276 Refs: https://github.com/nodejs/node/pull/32860
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines