mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-05-28 23:51:09 +08:00
fix(database,android): fix issue where transaction signal state error not caught
This commit is contained in:
@@ -75,6 +75,8 @@ public class ReactNativeFirebaseDatabaseTransactionHandler {
|
||||
signalled = true;
|
||||
data = updateData;
|
||||
condition.signalAll();
|
||||
} catch (Exception e) {
|
||||
// do nothing
|
||||
} finally {
|
||||
lock.unlock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user