Open min opened 4 years ago
Looks like the purgeOutstandingWrites
call does some async work on [FIRDatabaseQuery sharedQueue]
and we should wait that out when an app is deleted.
This should likely be done in the following: https://github.com/firebase/firebase-ios-sdk/blob/9bfbb9ece0d9a7094a890696d663a20cf8627e85/Firebase/Database/Api/FIRDatabaseComponent.m#L85-L100
@min: are you doing anything after app.delete()
? It does have a completion handler you can provide that's called when all cleanup is done for each SDK.
Also it's always helpful to hear what the use case for app.delete()
is so we can better understand what developers are doing with it.
Thanks!
@ryanwilson we’re basically calling delete to clear out the session when a user logs out. wondering if the purge is even necessary.
It's likely not for the moment to unblock you, but something we should still try to fix :)
@ryanwilson thanks!
@ryanwilson Should the label be changed to database?
Great call - not sure why Googelbot thought it was auth...
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
We're observing a crash that's slowly increasing when executing this code block:
Stack Trace