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

Unified Diff: runtime/vm/thread_interrupter.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.cc
diff --git a/runtime/vm/thread_interrupter.cc b/runtime/vm/thread_interrupter.cc
index b2f5f1c647dc95cb3c03b65f78292f00e478916a..10cff89a4663c002e888de443b3bb765ac4c9686 100644
--- a/runtime/vm/thread_interrupter.cc
+++ b/runtime/vm/thread_interrupter.cc
@@ -314,6 +314,7 @@ void ThreadInterrupter::ThreadMain(uword parameters) {
ASSERT(current_wait_time_ != Monitor::kNoTimeout);
}
}
+ RemoveSignalHandler();
siva 2015/04/07 18:18:07 Instead of a per OS RemoveSignalHandler() implemen
Cutch 2015/04/07 18:35:55 SignalHandler::Remove() on Windows is UNREACHABLE(
if (FLAG_trace_thread_interrupter) {
OS::Print("ThreadInterrupter thread exiting.\n");
}

Powered by Google App Engine
This is Rietveld 408576698