hedgewars/hwengine.pas
changeset 3617 1df21e06b8ba
parent 3615 b78d7959540a
child 3624 304c6d32383a
--- a/hedgewars/hwengine.pas	Sat Jul 03 04:42:29 2010 +0200
+++ b/hedgewars/hwengine.pas	Sat Jul 03 05:51:24 2010 +0200
@@ -125,6 +125,7 @@
 procedure OnDestroy;
 begin
     WriteLnToConsole('Freeing resources...');
+    FreeActionsList();
     StoreRelease();
     ControllerClose();
     SendKB();
@@ -379,7 +380,7 @@
         uAIMisc.freeModule;         //stub
         //uAIAmmoTests does not need to be freed
         //uAIActions does not need to be freed
-        uAI.freeModule;
+        uAI.freeModule;             //stub
     end;
     
     uIO.freeModule;             //stub