Destroy panel before quitting

This commit is contained in:
Mark Mine 2002-08-09 23:29:55 +00:00
parent daf0153c6c
commit eb6eb38e57

View File

@ -186,6 +186,11 @@ class ShowBase:
del self.winList
del self.pipe
try:
direct.panel.destroy()
except StandardError:
pass
if self.oldexitfunc:
self.oldexitfunc()