Re: Review Request 60252: Fixed a bug that causes segfault in ProcessManager::finalize.

2017-06-22 Thread Jiang Yan Xu
> On June 21, 2017, 11:42 a.m., Joseph Wu wrote: > > I agree this makes the finalization logic safer, but I don't see a way to > > add a `nullptr` to the `ProcessManager::processes` map. > > > > `ProcessManager::spawn` is the only location where the `processes` map is > > inserted, and this

Re: Review Request 60252: Fixed a bug that causes segfault in ProcessManager::finalize.

2017-06-21 Thread Joseph Wu
> On June 21, 2017, 11:42 a.m., Joseph Wu wrote: > > I agree this makes the finalization logic safer, but I don't see a way to > > add a `nullptr` to the `ProcessManager::processes` map. > > > > `ProcessManager::spawn` is the only location where the `processes` map is > > inserted, and this

Re: Review Request 60252: Fixed a bug that causes segfault in ProcessManager::finalize.

2017-06-21 Thread Mesos Reviewbot Windows
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60252/#review178603 --- Patch looks great! Reviews applied: [60252] Passed command:

Re: Review Request 60252: Fixed a bug that causes segfault in ProcessManager::finalize.

2017-06-21 Thread Jiang Yan Xu
> On June 21, 2017, 11:42 a.m., Joseph Wu wrote: > > I agree this makes the finalization logic safer, but I don't see a way to > > add a `nullptr` to the `ProcessManager::processes` map. > > > > `ProcessManager::spawn` is the only location where the `processes` map is > > inserted, and this

Re: Review Request 60252: Fixed a bug that causes segfault in ProcessManager::finalize.

2017-06-21 Thread Joseph Wu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60252/#review178522 --- Ship it! I agree this makes the finalization logic safer, but

Review Request 60252: Fixed a bug that causes segfault in ProcessManager::finalize.

2017-06-20 Thread Jiang Yan Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60252/ --- Review request for mesos and Joseph Wu. Repository: mesos Description