summaryrefslogtreecommitdiff
path: root/doc/design/assistant/blog/day_304__dropunused_safety.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-07-26 18:42:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-07-26 18:42:22 -0400
commit4e698dd89e8bd907ce5b8a80a2ad0435fb8cbbb6 (patch)
tree2b16fa9162d5a1c1d734693f9d09d873f001085c /doc/design/assistant/blog/day_304__dropunused_safety.mdwn
parent02b5f7d9371994f4401e2344ad4a19cb5ea9fa6e (diff)
assistant: Fix deadlock that could occur when adding a lot of files at once in indirect mode.
This is a laziness problem. Despite the bang pattern on newfiles, the list was not being fully evaluated before cleanup was called. Moving cleanup out to after the list is actually used fixes this. More evidence that I should be using ResourceT or pipes, if any was needed.
Diffstat (limited to 'doc/design/assistant/blog/day_304__dropunused_safety.mdwn')
0 files changed, 0 insertions, 0 deletions