Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: reset main_thread_id_ when it is removed
When the Environment instance associated with the main thread is removed, reset the main_thread_id_. This will make sure calls to GetMainEnvInst() don't return something invalid. PR-URL: #24 Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
- Loading branch information