> On Sept. 26, 2015, 10:57 p.m., Neil Conway wrote: > > Is there already an RAII wrapper for os::close() we can use? If not, might > > be worth writing one.
Not yet AFAIK, but related JIRA to have one : https://issues.apache.org/jira/browse/MESOS-3520 - Anand ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/38774/#review100765 ----------------------------------------------------------- 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 > >