perhaps this fixes the stall tbd
This commit is contained in:
parent
a600471a23
commit
6e04194e84
1 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,7 @@ xmppPush cid gitpush = runPush SendPack cid $ do
|
||||||
liftIO $ do
|
liftIO $ do
|
||||||
mapM_ killThread [t1, t2]
|
mapM_ killThread [t1, t2]
|
||||||
mapM_ hClose [inh, outh, controlh]
|
mapM_ hClose [inh, outh, controlh]
|
||||||
|
|
||||||
return r
|
return r
|
||||||
where
|
where
|
||||||
toxmpp seqnum inh = do
|
toxmpp seqnum inh = do
|
||||||
|
@ -167,6 +167,7 @@ xmppPush cid gitpush = runPush SendPack cid $ do
|
||||||
liftIO $ do
|
liftIO $ do
|
||||||
hPrint controlh (ExitFailure 1)
|
hPrint controlh (ExitFailure 1)
|
||||||
hFlush controlh
|
hFlush controlh
|
||||||
|
killThread =<< myThreadId
|
||||||
|
|
||||||
installwrapper tmpdir = liftIO $ do
|
installwrapper tmpdir = liftIO $ do
|
||||||
createDirectoryIfMissing True tmpdir
|
createDirectoryIfMissing True tmpdir
|
||||||
|
|
Loading…
Reference in a new issue