terminate after 5 seconds
This commit is contained in:
parent
d847ef18d2
commit
e11312fb5d
1 changed files with 5 additions and 5 deletions
|
@ -78,8 +78,8 @@ update :: Double -> AffectionState (AffectionData UserData) IO ()
|
|||
update sec = do
|
||||
traceM "updating"
|
||||
-- traceM $ show sec
|
||||
-- liftIO $ delaySec 5
|
||||
-- ud@AffectionData{..} <- get
|
||||
-- put $ ud
|
||||
-- { quitEvent = True
|
||||
-- }
|
||||
liftIO $ delaySec 5
|
||||
ud@AffectionData{..} <- get
|
||||
put $ ud
|
||||
{ quitEvent = True
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue