Skip to content

Commit

Permalink
server: close http client on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Bizzonium committed Mar 17, 2024
1 parent 88e310b commit 4ae3192
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/game/world.dm
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ GLOBAL_VAR(href_logfile)


/world/Del()
rustg_close_async_http_client() // Close the HTTP client. If you dont do this, youll get phantom threads which can crash DD from memory access violations
var/debug_server = world.GetConfig("env", "AUXTOOLS_DEBUG_DLL")
if (debug_server)
CALL_EXT(debug_server, "auxtools_shutdown")()
Expand Down

0 comments on commit 4ae3192

Please sign in to comment.