mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Avoid calling writeFileAtomically outside Fiber.
This commit is contained in:
@@ -142,7 +142,9 @@ class DefaultHandlers {
|
||||
file.hash,
|
||||
this.bundleArch,
|
||||
);
|
||||
process.nextTick(writeFileAtomically, cacheFileName, code);
|
||||
Promise.resolve().then(
|
||||
() => writeFileAtomically(cacheFileName, code),
|
||||
);
|
||||
return code;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user