diff options
Diffstat (limited to 'src/libstore/gc.hh')
-rw-r--r-- | src/libstore/gc.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/gc.hh b/src/libstore/gc.hh index 838188adeb82..c8f908b152aa 100644 --- a/src/libstore/gc.hh +++ b/src/libstore/gc.hh @@ -16,7 +16,9 @@ void collectGarbage(const PathSet & roots, GCAction action, PathSet & result); /* Register a temporary GC root. This root will automatically - disappear when this process exits. */ + disappear when this process exits. WARNING: this function should + not be called inside a BDB transaction, otherwise we can + deadlock. */ void addTempRoot(const Path & path); |