Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1047)

Unified Diff: runtime/vm/thread_interrupter_macos.cc

Issue 1061033005: Remove profiler signal handler on shutdown (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/thread_interrupter_macos.cc
diff --git a/runtime/vm/thread_interrupter_macos.cc b/runtime/vm/thread_interrupter_macos.cc
index 4d72afa82ec6defa712d7b1a766707597b24ce42..b5beeebedac7abef16c848fbcb6660b006d6dd32 100644
--- a/runtime/vm/thread_interrupter_macos.cc
+++ b/runtime/vm/thread_interrupter_macos.cc
@@ -55,6 +55,11 @@ void ThreadInterrupter::InstallSignalHandler() {
SignalHandler::Install(ThreadInterrupterMacOS::ThreadInterruptSignalHandler);
}
+
+void ThreadInterrupter::RemoveSignalHandler() {
+ SignalHandler::Remove();
+}
+
} // namespace dart
#endif // defined(TARGET_OS_MACOS)

Powered by Google App Engine
This is Rietveld 408576698