mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
check if the idle-thread is alive before giving up to start one
This commit is contained in:
@@ -302,7 +302,7 @@ public class ApplicationLoader extends Application {
|
||||
public static void startIdleThread()
|
||||
{
|
||||
synchronized (s_idleThreadCritical) {
|
||||
if (s_idleThread != null) {
|
||||
if (s_idleThread != null && s_idleThread.isAlive()) {
|
||||
Log.i("DeltaChat", "Idle thread already started.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user