소스 검색

free Graphics object on quit.

AlexVinS 9 년 전
부모
커밋
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