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

Unified Diff: runtime/vm/thread_interrupter_android.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_android.cc
diff --git a/runtime/vm/thread_interrupter_android.cc b/runtime/vm/thread_interrupter_android.cc
index 237d7836321dd989f9ec45a8366a1542fc585a8b..fd27d530e05069510a1d73d98a4ae645e040a377 100644
--- a/runtime/vm/thread_interrupter_android.cc
+++ b/runtime/vm/thread_interrupter_android.cc
@@ -59,6 +59,11 @@ void ThreadInterrupter::InstallSignalHandler() {
ThreadInterrupterAndroid::ThreadInterruptSignalHandler);
}
+
+void ThreadInterrupter::RemoveSignalHandler() {
+ SignalHandler::Remove();
+}
+
} // namespace dart
#endif // defined(TARGET_OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698