1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

free Graphics object on quit.

This commit is contained in:
AlexVinS 2016-10-18 06:36:59 +03:00
parent 536f36ede8
commit 8505a909e1

View File

@ -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