destroy context

This commit is contained in:
nek0 2018-06-18 01:09:01 +02:00
parent 62921052df
commit 37bec202fe

View file

@ -160,6 +160,7 @@ withAffection AffectionConfig{..} = do
liftIO $ logIO Debug "Loop ended. Cleaning"
cleanUp $ userState nState
liftIO $ logIO Debug "Destroying Window"
SDL.glDeleteContext context
SDL.destroyWindow window
SDL.quit
liftIO $ logIO Debug "This is the end"