Added a gas mixture counter and fixed a segfault on exit.

This commit is contained in:
Putnam
2020-09-10 17:42:49 -07:00
parent 58f370b04f
commit 3ea7f0defa
4 changed files with 4 additions and 6 deletions
-6
View File
@@ -273,12 +273,6 @@ GLOBAL_LIST(topic_status_cache)
..()
/world/Del()
// memory leaks bad
var/num_deleted = 0
for(var/datum/gas_mixture/GM)
GM.__gasmixture_unregister()
num_deleted++
log_world("Deallocated [num_deleted] gas mixtures")
shutdown_logging() // makes sure the thread is closed before end, else we terminate
..()