![]() If a DbHandle is in use by another thread, it could be queueing changes while shutdown is running. So, wait for the worker to finish before flushing the queue, so that any last-minute writes are included. Before this fix, they would be silently dropped. Of course, if the other thread continues to try to use a DbHandle once it's closed, it will block forever as the worker is no longer reading from the jobs MVar. So, that would crash with "thread blocked indefinitely in an MVar operation". |
||
---|---|---|
.. | ||
Keys | ||
Fsck.hs | ||
Handle.hs | ||
Keys.hs | ||
Types.hs |