From 38a798baa8483af9efc90d4a56cdfb93eb7c07fb Mon Sep 17 00:00:00 2001 From: Ciro Spaciari Date: Tue, 9 Sep 2025 19:40:27 -0700 Subject: [PATCH] maybe --- src/sql/mysql/MySQLConnection.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sql/mysql/MySQLConnection.zig b/src/sql/mysql/MySQLConnection.zig index 2854b1453f..97b5fe896c 100644 --- a/src/sql/mysql/MySQLConnection.zig +++ b/src/sql/mysql/MySQLConnection.zig @@ -370,11 +370,10 @@ pub fn failWithJSValue(this: *MySQLConnection, value: JSValue) void { defer { // we defer the refAndClose so the on_close will be called first before we reject the pending requests this.refAndClose(value); - this.updateHasPendingActivity(); this.deref(); } - this.setStatus(.failed); + this.status = .failed; const on_close = this.consumeOnCloseCallback(this.globalObject) orelse return;