Commit f527153
committed
fix(database, android): remove RTDB listeners before shutting down executors
Call super.invalidate() only after clearing query listeners so Firebase
callbacks are less likely to run against a shut-down TaskExecutorService,
matching the Firestore module invalidation order.1 parent d0c6513 commit f527153
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- packages/database/android/src/reactnative/java/io/invertase/firebase/database
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| |||
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments