Commit 1ce57c62 authored by Jimmy Lai's avatar Jimmy Lai

fix: add missing context restoration in turbopack dev runInAsyncContext

parent 98eee02f
......@@ -2237,6 +2237,9 @@
}
function runInAsyncContext(request, fn) {
return function() {
if (request.asyncContextSnapshot) {
return request.asyncContextSnapshot(fn);
}
return fn();
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment