From 2f0307b3d64fffd68eff9e09de86d72b79deb9c9 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Thu, 11 Sep 2025 03:15:12 -0700 Subject: [PATCH] Update MySQLConnection.zig --- src/sql/mysql/MySQLConnection.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sql/mysql/MySQLConnection.zig b/src/sql/mysql/MySQLConnection.zig index 3771e252d6..5bc721f1cd 100644 --- a/src/sql/mysql/MySQLConnection.zig +++ b/src/sql/mysql/MySQLConnection.zig @@ -317,6 +317,7 @@ pub fn getConnected(this: *MySQLConnection, _: *jsc.JSGlobalObject) JSValue { pub fn doClose(this: *MySQLConnection, globalObject: *jsc.JSGlobalObject, _: *jsc.CallFrame) bun.JSError!JSValue { _ = globalObject; this.disconnect(); + this.poll_ref.disable(); this.write_buffer.clearAndFree(bun.default_allocator); return .js_undefined;