Index: runtime/bin/process.cc |
diff --git a/runtime/bin/process.cc b/runtime/bin/process.cc |
index 47e2ff58c473f86dc73e1c923359c0972662844a..77461987bc0e396f319792e01db074e73b2b09f6 100644 |
--- a/runtime/bin/process.cc |
+++ b/runtime/bin/process.cc |
@@ -273,7 +273,7 @@ void FUNCTION_NAME(Process_Exit)(Dart_NativeArguments args) { |
#endif |
EventHandler::Stop(); |
} |
- exit(static_cast<int>(status)); |
+ Platform::Exit(static_cast<int>(status)); |
} |