showbase: Clean up internal event handlers on destroy()

Fixes regression in cd6ad8285e
This commit is contained in:
rdb 2023-03-09 11:22:35 +01:00
parent 4da2059758
commit aed2581ce6
1 changed files with 1 additions and 0 deletions

View File

@ -691,6 +691,7 @@ class ShowBase(DirectObject.DirectObject):
allowAccessibilityShortcutKeys(True)
self.__disabledStickyKeys = False
self.__directObject.ignoreAll()
self.ignoreAll()
self.shutdown()