Chromium Code Reviews| 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; |
| } |