| Index: runtime/bin/platform_macos.cc
|
| diff --git a/runtime/bin/platform_macos.cc b/runtime/bin/platform_macos.cc
|
| index 5af6c5ac643c2fbdfa17b6706fa80bffa319aa32..0b920b64d8f63c65c35e08a4a3a238934345144d 100644
|
| --- a/runtime/bin/platform_macos.cc
|
| +++ b/runtime/bin/platform_macos.cc
|
| @@ -82,6 +82,12 @@ void Platform::PrintBlocking(FILE* file, const char* format, ...) {
|
| FDUtils::SetNonBlocking(fd);
|
| }
|
|
|
| +
|
| +void Platform::Cleanup() {
|
| + FDUtils::SetBlocking(fileno(stdout));
|
| + FDUtils::SetBlocking(fileno(stderr));
|
| +}
|
| +
|
| } // namespace bin
|
| } // namespace dart
|
|
|
|
|