Index: runtime/bin/platform_linux.cc |
diff --git a/runtime/bin/platform_linux.cc b/runtime/bin/platform_linux.cc |
index 80aa0af74c62d3260af606ca4c947c63ab49c5e4..89031a110822de4fe4f03977cd19598fecfde6f8 100644 |
--- a/runtime/bin/platform_linux.cc |
+++ b/runtime/bin/platform_linux.cc |
@@ -78,6 +78,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 |