diff --git a/builder.py b/builder.py index 7215ba8..f4bf00b 100644 --- a/builder.py +++ b/builder.py @@ -348,6 +348,7 @@ def main(targets, shouldbuildfunc): BuildJob(t, f, lock, shouldbuildfunc, done).start() state.commit() assert(state.is_flushed()) + lock = None del lock @@ -401,5 +402,6 @@ def main(targets, shouldbuildfunc): else: BuildJob(t, state.File(id=fid), lock, shouldbuildfunc, done).start() + lock = None state.commit() return retcode[0]