Commit 3ac8239
committed
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 <[email protected]>1 parent d849d3f commit 3ac8239
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
939 | 943 | | |
940 | 944 | | |
941 | 945 | | |
| |||
0 commit comments