See what happens if we don't use arenas in HTTPThread

This commit is contained in:
Kai Tamkun
2025-07-15 20:13:51 -07:00
parent a05509f024
commit 48e1b43e59

View File

@@ -195,7 +195,7 @@ pub fn init(opts: *const InitOpts) void {
pub fn onStart(opts: InitOpts) void {
Output.Source.configureNamedThread("HTTP Client");
bun.http.default_arena = Arena.init() catch unreachable;
bun.http.default_allocator = bun.http.default_arena.allocator();
bun.http.default_allocator = bun.default_allocator;
const loop = bun.JSC.MiniEventLoop.initGlobal(null);