Revert "Prevent race condition"

This reverts commit 516da33f8c.
This commit is contained in:
M66B 2021-12-07 10:46:49 +01:00
parent 3f4329612a
commit 50d4595e3a
1 changed files with 0 additions and 2 deletions

View File

@ -1331,8 +1331,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
db.account().setAccountBackoff(account.id, null);
while (state.isRunning() && currentThread.equals(accountThread)) {
state.reset();
if (!state.isRunning())
break;
Log.i(account.name + " run thread=" + currentThread);
final ObjectHolder<TwoStateOwner> cowner = new ObjectHolder<>();