diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-09-18 19:42:20 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-09-18 19:42:20 -0400 |
commit | 4b15fe18fb868d138d1bdfdf3d71b7a11de7a282 (patch) | |
tree | e47cb52c229e920c0bcad2d9a9dd76f3a82aa36c /Crypto.hs | |
parent | 15ea6c9f3eb1bc741d79f898d1ec45af74dcbb23 (diff) |
fix bug that prevented db being written to disk in SingleWriter mode
The bug occurred when closeDb was not called, and garbage collection of
the DbHandle didn't give the workerThread time to shut down. Fixed by
exiting the runSqlite action when a commit is made.
(MultiWriter mode already forked off a runSqlite action, so avoided the
problem.)
This commit was sponsored by Brock Spratlen on Patreon.
Diffstat (limited to 'Crypto.hs')
0 files changed, 0 insertions, 0 deletions