clean
This commit is contained in:
parent
3c64098157
commit
b2bdfa3e27
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ quitGame (MsgKeyboardEvent _ _ SDL.Pressed False sym)
|
|||
| SDL.keysymKeycode sym == SDL.KeycodeEscape = do
|
||||
ad <- A.get
|
||||
ud <- getAffection
|
||||
let Subsystem w m k = subsystems ud
|
||||
mapM_ (partUnsubscribe w) (uuid ud)
|
||||
mapM_ (partUnsubscribe m) (uuid ud)
|
||||
mapM_ (partUnsubscribe k) (uuid ud)
|
||||
SDL.glMakeCurrent (drawWindow ad) (glContext ad)
|
||||
(ws, _) <- yieldSystemT (0, defStorage) (return ())
|
||||
putAffection ud
|
||||
|
|
Loading…
Reference in a new issue