[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-commits] CVS: wastesedge/scripts init.py,1.92,1.93
From: |
Kai Sterker <address@hidden> |
Subject: |
[Adonthell-commits] CVS: wastesedge/scripts init.py,1.92,1.93 |
Date: |
Sun, 29 Sep 2002 12:09:24 -0400 |
Update of /cvsroot/adonthell/wastesedge/scripts
In directory subversions:/tmp/cvs-serv5618
Modified Files:
init.py
Log Message:
FIXED memleak (main_munu wasn't deleted at exit)
Index: init.py
===================================================================
RCS file: /cvsroot/adonthell/wastesedge/scripts/init.py,v
retrieving revision 1.92
retrieving revision 1.93
diff -C2 -r1.92 -r1.93
*** init.py 2 Sep 2002 10:59:50 -0000 1.92
--- init.py 29 Sep 2002 16:09:22 -0000 1.93
***************
*** 85,90 ****
def __del__ (self):
! print "Destructor called"
! adonthell.gamedata_engine ().main_quit ()
# -- catch ESC key
--- 85,89 ----
def __del__ (self):
! print "init: destructor called"
# -- catch ESC key
***************
*** 162,166 ****
# -- once the menu is closed, see what we got
retval = menu.get_result ()
!
# -- start new game
if retval == 1:
--- 161,165 ----
# -- once the menu is closed, see what we got
retval = menu.get_result ()
!
# -- start new game
if retval == 1:
***************
*** 193,196 ****
--- 192,197 ----
else:
adonthell.gamedata_engine ().main_quit ()
+
+ adonthell.win_container.__del__ (menu)
# -- cleanup
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Adonthell-commits] CVS: wastesedge/scripts init.py,1.92,1.93,
Kai Sterker <address@hidden> <=
- Prev by Date:
[Adonthell-commits] CVS: adonthell/src dialog.cc,1.32,1.33 win_base.cc,1.2,1.3 win_base.h,1.22,1.23 win_manager.cc,1.10,1.11
- Next by Date:
[Adonthell-commits] CVS: wastesedge/scripts/modules main_menu.py,1.18,1.19
- Previous by thread:
[Adonthell-commits] CVS: adonthell/src dialog.cc,1.32,1.33 win_base.cc,1.2,1.3 win_base.h,1.22,1.23 win_manager.cc,1.10,1.11
- Next by thread:
[Adonthell-commits] CVS: wastesedge/scripts/modules main_menu.py,1.18,1.19
- Index(es):