aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Threads/TransferScanner.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-18 22:58:14 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-18 22:58:14 -0400
commit154b11d6b1900b7104809810bee2d611b2993d42 (patch)
treeb56af8cbd3e984d2f1f0ab604db89f0c43fa5b33 /Assistant/Threads/TransferScanner.hs
parentb7654c1c591454247fdf0d56e1fd8f20e9ec6c9e (diff)
deal with transferkey crashing
If transferkey crashes or even fails to run, the TransferWatcher will not see the transfer info file be created, so will not remove the transfer from the list of active transfers. This causes the list to grow continually, and all active transfers are displayed in the webapp. So, put in a guard. I assume that transferkey will not exit 0 while neglecting to clean up.
Diffstat (limited to 'Assistant/Threads/TransferScanner.hs')
0 files changed, 0 insertions, 0 deletions