> On Dec. 2, 2015, 8:08 a.m., Benjamin Bannier wrote: > > 3rdparty/libprocess/src/process.cpp, line 993 > > <https://reviews.apache.org/r/40266/diff/1/?file=1134919#file1134919line993> > > > > Once you use a proper smart pointer for `process_route` this comment > > will be right (maybe `s/deleted/cleaned up/`).
Note: This change was moved into a prior commit in the chain. > On Dec. 2, 2015, 8:08 a.m., Benjamin Bannier wrote: > > 3rdparty/libprocess/src/process.cpp, line 493 > > <https://reviews.apache.org/r/40266/diff/1/?file=1134919#file1134919line493> > > > > You should be more explicit about lifetimes here and use `unique_ptrs` > > of .. instead (you can always `reset` in place of `delete` if you need to > > destroy at a certain point). Note: This change was moved into a prior commit in the chain. - Joseph ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40266/#review108650 ----------------------------------------------------------- On April 14, 2016, 1:28 p.m., Joseph Wu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/40266/ > ----------------------------------------------------------- > > (Updated April 14, 2016, 1:28 p.m.) > > > Review request for mesos, Artem Harutyunyan and Joris Van Remoortere. > > > Bugs: MESOS-3910 > https://issues.apache.org/jira/browse/MESOS-3910 > > > Repository: mesos > > > Description > ------- > > The `SocketManager` and `ProcessManager` are highly inter-dependent, > which requires some untangling in `process::finalize`. > > * Logic originally found in `~ProcessManager` has been split into > `ProcessManager::finalize` due to what happens during cleanup. > * The future from `__s__->accept()` must be explicitly discarded as > libevent does not detect a locally closed socket. > > > Diffs > ----- > > 3rdparty/libprocess/src/process.cpp > afeddec20495bb9621c3e26b0d425c9419654739 > > Diff: https://reviews.apache.org/r/40266/diff/ > > > Testing > ------- > > `make check` (libev) > `make check` (--enable-libevent --enable-ssl) > > > Thanks, > > Joseph Wu > >
