Chromium Code Reviews| Index: runtime/bin/platform_win.cc |
| diff --git a/runtime/bin/platform_win.cc b/runtime/bin/platform_win.cc |
| index 9830db2c9ebc863856023aca91260b7105a7d650..df630ea6070de047d7d90cb4167af7a51aa24bdc 100644 |
| --- a/runtime/bin/platform_win.cc |
| +++ b/runtime/bin/platform_win.cc |
| @@ -105,6 +105,11 @@ char* Platform::ResolveExecutablePath() { |
| return canon_path; |
| } |
| +void Platform::Exit(int exit_code) { |
| + // On Windows we use ExitProcess so that threads can't clobber the exit_code. |
|
Cutch
2015/10/28 20:33:15
Can you include the NaCl issue in a comment here f
zra
2015/10/28 21:40:04
Done.
|
| + ::ExitProcess(exit_code); |
| +} |
| + |
| } // namespace bin |
| } // namespace dart |