mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 20:39:05 +00:00
Update MySQLConnection.zig
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user