aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/api/server.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-19 04:56:46 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-19 04:56:46 -0800
commitbb95f90a62f3bbccd63288876870d1b107f510c3 (patch)
tree8e1db00ae697a69db516f8ed618778ce42c7130f /src/bun.js/api/server.zig
parent180632255488cf89009b2549951102340cd4997c (diff)
downloadbun-bb95f90a62f3bbccd63288876870d1b107f510c3.tar.gz
bun-bb95f90a62f3bbccd63288876870d1b107f510c3.tar.zst
bun-bb95f90a62f3bbccd63288876870d1b107f510c3.zip
Introduce `BUN_GARBAGE_COLLECTOR_LEVEL` debug environment variable
Diffstat (limited to 'src/bun.js/api/server.zig')
-rw-r--r--src/bun.js/api/server.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/api/server.zig b/src/bun.js/api/server.zig
index 866b08e34..92a3c23d0 100644
--- a/src/bun.js/api/server.zig
+++ b/src/bun.js/api/server.zig
@@ -4490,7 +4490,7 @@ pub fn NewServer(comptime ssl_enabled_: bool, comptime debug_mode_: bool) type {
this.config.hostname;
this.ref();
-
+ this.vm.autoGarbageCollect();
this.app.listenWithConfig(*ThisServer, this, onListen, .{
.port = this.config.port,
.host = host,