Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition when shutting down
When we request an auxilary thread to shutdown, maybe another thread is still waiting to do GC. Therefore we need to guard here so we don't deadlock when somebody requested a GC but we're also shutting down. Related to #1952
- Loading branch information