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

Unified Diff: sandbox/win/src/target_process.cc

Issue 614813002: Cleanup sandbox/ in advance of re-enabling some MSVC warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: sandbox/win/src/target_process.cc
diff --git a/sandbox/win/src/target_process.cc b/sandbox/win/src/target_process.cc
index fea52b2a6885459b29e6fa671d32ba5705a331ea..c524b7e41a86aedf1498e882914944b66a540ede 100644
--- a/sandbox/win/src/target_process.cc
+++ b/sandbox/win/src/target_process.cc
@@ -95,7 +95,9 @@ TargetProcess::~TargetProcess() {
// have an IPC reach us after this point.
if (shared_section_.IsValid())
shared_section_.Take();
- SharedMemIPCServer* server = ipc_server_.release();
+ // !!! Does |ipc_server_| get cleaned up properly somewhere else, or is
+ // leaking it OK?
Peter Kasting 2014/09/29 23:09:26 This question must be answered before this change
cpu_(ooo_6.6-7.5) 2014/09/30 20:23:45 The theory is that the job object has been closed
Peter Kasting 2014/09/30 20:35:39 It sounds like I should basically leave this code
Peter Kasting 2014/10/01 02:32:13 I attempted to clarify the comments here.
+ ipc_server_.release();
sandbox_process_info_.TakeProcessHandle();
return;
}

Powered by Google App Engine
This is Rietveld 408576698