Searched refs:makeCleanup (Results 1 – 2 of 2) sorted by relevance
45 using netdutils::makeCleanup;102 auto rmFile = makeCleanup([pidFile] { removePidFile(pidFile); }); in writePidFile()
56 Cleanup<FnT> makeCleanup(FnT fn) { in makeCleanup() function