You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built a simple script in Typescript that reads from the Database and prints the result. Whenever I do that, the newly created process does not close.
Operating System
Node JS 16
Browser Version
Admin SDK
Firebase SDK Version
11.7.0 (and also 12.2.0)
Firebase SDK Product:
Database
Describe your project's tooling
Admin Node JS SDK
Describe the problem
Hi guys,
I built a simple script in Typescript that reads from the Database and prints the result. Whenever I do that, the newly created process does not close.
I'm not sure if this is an intended behaviour
I also added the
admin.database().goOffline();
as mentioned in firebase/firebase-js-sdk#6932 (comment) but didn't work.Steps and code to reproduce issue
Run the following js code
You'll see that even though the console prints 'end', the program doesn't actually stop.
If you simply run
the program stops as intended
The text was updated successfully, but these errors were encountered: