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

Unified Diff: sandbox/mac/mach_message_server.cc

Issue 1556133002: Shutdown the sandbox MessageServer before deleting it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « sandbox/mac/mach_message_server.h ('k') | sandbox/mac/message_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/mac/mach_message_server.cc
diff --git a/sandbox/mac/mach_message_server.cc b/sandbox/mac/mach_message_server.cc
index 20bd94c21f50e5d89e5ed82f8056562f95733eaf..7626c3af545336a73c5c96114bc4e80899183d45 100644
--- a/sandbox/mac/mach_message_server.cc
+++ b/sandbox/mac/mach_message_server.cc
@@ -76,6 +76,10 @@ bool MachMessageServer::Initialize() {
return true;
}
+void MachMessageServer::Shutdown() {
+ dispatch_source_.reset();
+}
+
pid_t MachMessageServer::GetMessageSenderPID(IPCMessage request) {
// Get the PID of the task that sent this request. This requires getting at
// the trailer of the message, from the header.
« no previous file with comments | « sandbox/mac/mach_message_server.h ('k') | sandbox/mac/message_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698