mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
BSQL connection closure
This commit is contained in:
@@ -123,7 +123,7 @@ var/datum/subsystem/dbcore/SSdbcore
|
||||
last_error = error
|
||||
log_sql("Connect() failed | [error]")
|
||||
++failed_connections
|
||||
qdel(connection)
|
||||
BSQL_DEL_CALL(connection)
|
||||
qdel(connectOperation)
|
||||
connection = null
|
||||
connectOperation = null
|
||||
@@ -200,7 +200,7 @@ var/datum/subsystem/dbcore/SSdbcore
|
||||
/datum/subsystem/dbcore/proc/Disconnect()
|
||||
failed_connections = 0
|
||||
qdel(connectOperation)
|
||||
qdel(connection)
|
||||
BSQL_DEL_CALL(connection)
|
||||
connectOperation = null
|
||||
connection = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user