mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-27 16:10:58 +01:00
Fixed thread pool simple task
This commit is contained in:
@@ -47,7 +47,7 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||
private Bundle args;
|
||||
private Result stored;
|
||||
|
||||
private ExecutorService executor = Executors.newCachedThreadPool(Helper.backgroundThreadFactory);
|
||||
private static ExecutorService executor = Executors.newCachedThreadPool(Helper.backgroundThreadFactory);
|
||||
|
||||
public void load(Context context, LifecycleOwner owner, Bundle args) {
|
||||
run(context, owner, args);
|
||||
|
||||
Reference in New Issue
Block a user