Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/kivy/core/window/window_sdl2.py b/kivy/core/window/window_sdl2.py
- index 267f4d5..35dca74 100644
- --- a/kivy/core/window/window_sdl2.py
- +++ b/kivy/core/window/window_sdl2.py
- @@ -199,7 +199,6 @@ class WindowSDL(WindowBase):
- from kivy.app import App
- if action == 'app_terminating':
- EventLoop.quit = True
- - self.close()
- elif action == 'app_lowmemory':
- self.dispatch('on_memorywarning')
- @@ -412,7 +411,6 @@ class WindowSDL(WindowBase):
- if self.dispatch('on_request_close'):
- continue
- EventLoop.quit = True
- - self.close()
- break
- elif action in ('fingermotion', 'fingerdown', 'fingerup'):
- @@ -618,7 +616,6 @@ class WindowSDL(WindowBase):
- action, args = event[0], event[1:]
- if action == 'quit':
- EventLoop.quit = True
- - self.close()
- break
- elif action == 'app_willenterforeground':
- break
- @@ -643,6 +640,7 @@ class WindowSDL(WindowBase):
- raise
- else:
- pass
- + self.close()
- #
- # Pygame wrapper
Advertisement
Add Comment
Please, Sign In to add comment