added another close condition to applogic when loop exits
This commit is contained in:
parent
2b073bfdfe
commit
5d17e5a487
@ -16,6 +16,7 @@ class App:
|
||||
def __init__(self, width:int=800, height:int=600, title:str="default title"):
|
||||
self.__window = Window(width=width, height=height, title=title)
|
||||
self.startGameLoop()
|
||||
self.onCleanup()
|
||||
|
||||
def startGameLoop(self):
|
||||
while self.__running:
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user