Chromium Code Reviews| Index: runtime/bin/platform_win.cc |
| diff --git a/runtime/bin/platform_win.cc b/runtime/bin/platform_win.cc |
| index dd0812fd59005145a688b26e4544bf7d6d45d41c..e3d0f009e99b00cfba92833ad24c2518363b8282 100644 |
| --- a/runtime/bin/platform_win.cc |
| +++ b/runtime/bin/platform_win.cc |
| @@ -14,6 +14,10 @@ |
| namespace dart { |
| + |
| +// Defined in os_thread_win.cc |
|
zra
2015/11/03 22:55:12
vm/os_thread_win.cc
Cutch
2015/11/03 23:02:24
Done.
|
| +extern bool private_flag_windows_run_tls_destructors; |
| + |
| namespace bin { |
| bool Platform::Initialize() { |
| @@ -106,6 +110,7 @@ char* Platform::ResolveExecutablePath() { |
| } |
| void Platform::Exit(int exit_code) { |
| + ::dart::private_flag_windows_run_tls_destructors = false; |
| // On Windows we use ExitProcess so that threads can't clobber the exit_code. |
| // See: https://code.google.com/p/nativeclient/issues/detail?id=2870 |
| ::ExitProcess(exit_code); |