[filescanner] Fix nested transaction

This commit is contained in:
chme 2016-12-24 07:44:03 +01:00
parent 1748430c48
commit cf7787dbc2
1 changed files with 2 additions and 1 deletions

View File

@ -1229,10 +1229,11 @@ bulk_scan(int flags)
DPRINTF(E_DBG, L_SCAN, "Purging old database content\n");
db_purge_cruft(start);
db_groups_cleanup();
db_queue_cleanup();
db_transaction_end();
db_queue_cleanup();
cache_artwork_purge_cruft(start);
DPRINTF(E_LOG, L_SCAN, "Bulk library scan completed in %.f sec\n", difftime(end, start));