mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
reorder for thread cleanup
This commit is contained in:
parent
a44e8e3b30
commit
a8ae4fa3f1
@ -388,11 +388,10 @@ class ShowBase(DirectObject.DirectObject):
|
||||
is closed cleanly, so that we free system resources, restore
|
||||
the desktop and keyboard functionality, etc.
|
||||
"""
|
||||
self.loader.destroy()
|
||||
self.graphicsEngine.removeAllWindows()
|
||||
|
||||
if self.musicManager:
|
||||
self.musicManager.shutdown()
|
||||
self.loader.destroy()
|
||||
self.graphicsEngine.removeAllWindows()
|
||||
|
||||
del self.win
|
||||
del self.winList
|
||||
|
Loading…
x
Reference in New Issue
Block a user