lispgames / cl-sdl2

Common Lisp bindings for SDL2 using C2FFI.
MIT License
304 stars 82 forks source link

Fix extra wait after quit when using :wait method #66

Closed jgenoch closed 7 years ago

jgenoch commented 8 years ago

When using the :wait method for events, the input loop was waiting for input before evaluating the :until form. So when a quit message was received, the application would wait for an extra input before actually quitting.