This commit is contained in:
Ciro Spaciari
2025-09-10 22:42:14 -07:00
parent b4a9f5f0ff
commit b616fe1db6

View File

@@ -373,6 +373,7 @@ pub fn failWithJSValue(this: *MySQLConnection, value: JSValue) void {
}
this.status = .failed;
if (this.vm.isShuttingDown()) return;
const on_close = this.consumeOnCloseCallback(this.globalObject) orelse return;
on_close.ensureStillAlive();