[database][android] reset transaction signalled state on await()

This commit is contained in:
Salakar 2018-08-16 07:18:01 +01:00
parent 0c46523045
commit 5839aadf0f
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ public class RNFirebaseTransactionHandler {
*/ */
void await() throws InterruptedException { void await() throws InterruptedException {
lock.lock(); lock.lock();
signalled = false;
long timeoutExpired = System.currentTimeMillis() + 5000; long timeoutExpired = System.currentTimeMillis() + 5000;