Commit 056cf471 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Have to make sure threading_lock is unlocked as well after fork

parent bf7b9b47
...@@ -481,6 +481,8 @@ extern "C" void PyEval_ReInitThreads() noexcept { ...@@ -481,6 +481,8 @@ extern "C" void PyEval_ReInitThreads() noexcept {
} }
} }
threading_lock.unlock();
num_starting_threads = 0; num_starting_threads = 0;
threads_waiting_on_gil = 0; threads_waiting_on_gil = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment