mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 13:51:47 +00:00
Re-sync our Mutex implementation with zig stdlib (#16271)
This commit is contained in:
@@ -168,7 +168,7 @@ pub const StandaloneModuleGraph = struct {
|
||||
none,
|
||||
|
||||
/// It probably is not possible to run two decoding jobs on the same file
|
||||
var init_lock: bun.Lock = .{};
|
||||
var init_lock: bun.Mutex = .{};
|
||||
|
||||
pub fn load(this: *LazySourceMap) ?*SourceMap.ParsedSourceMap {
|
||||
init_lock.lock();
|
||||
|
||||
Reference in New Issue
Block a user