mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Destroy panel before quitting
This commit is contained in:
parent
daf0153c6c
commit
eb6eb38e57
@ -186,6 +186,11 @@ class ShowBase:
|
|||||||
del self.winList
|
del self.winList
|
||||||
del self.pipe
|
del self.pipe
|
||||||
|
|
||||||
|
try:
|
||||||
|
direct.panel.destroy()
|
||||||
|
except StandardError:
|
||||||
|
pass
|
||||||
|
|
||||||
if self.oldexitfunc:
|
if self.oldexitfunc:
|
||||||
self.oldexitfunc()
|
self.oldexitfunc()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user