test,worker_threads: simplify common.isMainThread
Now that worker_threads
do not require a flag, the logic around
loading isMainThread
can be removed.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines