Free messages queue on engine shutdown
authorunc0rr
Wed, 17 Aug 2011 21:26:34 +0400
changeset 5592 662ebb46642f
parent 5590 efd92458c75c
child 5594 3ab68a93434b
Free messages queue on engine shutdown
hedgewars/uIO.pas
--- a/hedgewars/uIO.pas	Wed Aug 17 11:17:50 2011 -0400
+++ b/hedgewars/uIO.pas	Wed Aug 17 21:26:34 2011 +0400
@@ -433,6 +433,7 @@
 
 procedure freeModule;
 begin
+while headcmd <> nil do RemoveCmd
 end;
 
 end.