mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
maybe
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user