mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
See what happens if we don't use arenas in HTTPThread
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user