fix windows bug in Progress.zig
This bug caused the compiler to deadlock when multiple c objects were build in parallel. Thanks @kprotty for finding this bug!
This commit is contained in:
committed by
Andrew Kelley
parent
15278b7f4b
commit
4f7d76f19c
@@ -103,7 +103,11 @@ pub const Node = struct {
|
||||
}
|
||||
parent.completeOne();
|
||||
} else {
|
||||
self.context.done = true;
|
||||
{
|
||||
const held = self.context.update_lock.acquire();
|
||||
defer held.release();
|
||||
self.context.done = true;
|
||||
}
|
||||
self.context.refresh();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user