D
tid <- start done
Size: a a a
D
tid <- start done
AV
D
start done = do
(port, site, app) <- getApplicationRepl
forkFinally
(runSettings (setPort port defaultSettings) app)
-- Note that this implies concurrency
-- between shutdownApp and the next app that is starting.
-- Normally this should be fine
(\_ -> putMVar done () >> shutdownApp site)
D
traceIO "settings"
settings <- getAppSettings
traceIO "after settings"
AV
D
AV
AV
IK
D
D
JS
AV
D
D
JS
JS