----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/38774/#review100765 -----------------------------------------------------------
Is there already an RAII wrapper for os::close() we can use? If not, might be worth writing one. - Neil Conway On Sept. 25, 2015, 9 p.m., Chi Zhang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/38774/ > ----------------------------------------------------------- > > (Updated Sept. 25, 2015, 9 p.m.) > > > Review request for mesos. > > > Bugs: mesos-3519 > https://issues.apache.org/jira/browse/mesos-3519 > > > Repository: mesos > > > Description > ------- > > state: fix file descriptor leak > > > Diffs > ----- > > src/slave/state.cpp 47c66dc80d57db86981769d404c2c8c7c972fec0 > > Diff: https://reviews.apache.org/r/38774/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Chi Zhang > >
