
Don't switch to main process until all renderer SQL queries are completed. If we switch while some of them are still running - we can get SQL_BUSY from concurrent writes in main and renderer processes.
Don't switch to main process until all renderer SQL queries are completed. If we switch while some of them are still running - we can get SQL_BUSY from concurrent writes in main and renderer processes.