2
0
Эх сурвалжийг харах

free Graphics object on quit.

AlexVinS 9 жил өмнө
parent
commit
8505a909e1
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      client/CMT.cpp

+ 2 - 0
client/CMT.cpp

@@ -934,6 +934,8 @@ void dispose()
 	}
 	CMessage::dispose();
 
+	vstd::clear_pointer(graphics);
+
 	if(console)
 	{
 		delete console; // should be removed after everything else since used by logging