----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30348/#review70091 -----------------------------------------------------------
Ship it! 3rdparty/libprocess/include/process/future.hpp <https://reviews.apache.org/r/30348/#comment115062> Move this above all member fields. We usually declaring methods before declaring fields. 3rdparty/libprocess/include/process/future.hpp <https://reviews.apache.org/r/30348/#comment115068> while the current thread is clearing the onDiscard callbacks as well - Jie Yu On Jan. 28, 2015, 10 p.m., Vinod Kone wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30348/ > ----------------------------------------------------------- > > (Updated Jan. 28, 2015, 10 p.m.) > > > Review request for mesos, Benjamin Hindman, Ben Mahler, and Jie Yu. > > > Bugs: MESOS-2279 > https://issues.apache.org/jira/browse/MESOS-2279 > > > Repository: mesos-git > > > Description > ------- > > This is important so that the callbacks of a future can hold a reference to > the same future. If we don't clear the callback, the future will never get > gc'ed. See bug for details. > > > Diffs > ----- > > 3rdparty/libprocess/include/process/future.hpp > 0326b23cdd475c6e86b33f9b4c63136fdecab443 > > Diff: https://reviews.apache.org/r/30348/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Vinod Kone > >
