mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Prevent crash
This commit is contained in:
@@ -81,7 +81,7 @@ public abstract class DB extends RoomDatabase {
|
||||
public abstract DaoLog log();
|
||||
|
||||
private static DB sInstance;
|
||||
private static ExecutorService executor = Executors.newCachedThreadPool(Helper.backgroundThreadFactory);
|
||||
private static ExecutorService executor = Executors.newSingleThreadExecutor(Helper.backgroundThreadFactory);
|
||||
|
||||
private static final String DB_NAME = "fairemail";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user