* Automatically remove temporary root files.
This commit is contained in:
parent
252c9c91ab
commit
207bdcbe86
3 changed files with 30 additions and 1 deletions
|
|
@ -21,5 +21,10 @@ void collectGarbage(const PathSet & roots, GCAction action,
|
|||
deadlock. */
|
||||
void addTempRoot(const Path & path);
|
||||
|
||||
/* Remove the temporary roots file for this process. Any temporary
|
||||
root becomes garbage after this point unless it has been registered
|
||||
as a (permanent) root. */
|
||||
void removeTempRoots();
|
||||
|
||||
|
||||
#endif /* !__GC_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue