firebase / firebase/firebase-admin-node

[FR] A better and more explicit way to close and end firebase connection

Open
#1,771 1 comment 0 reactions 0 assignees View on GitHub
needs-triage type: feature request
Dominant language
TypeScript
Stars
1.7k
Forks
419
Avg merge
3d 10h
Merged PRs (30d)
16

Description

**Is your feature request related to a problem? Please describe.**
After a few searchs I didn't find a way to properly close a connection with firebase . The API itself has this method "deleteApp" which disables the received firebase connection, but somehow this connection keeps active in memory, firebase docs (https://firebase.google.com/docs/reference/admin/node/firebase-admin.app.md#deleteapp) say it is the proper method to finish the connection locally, but also say it doesn't clean any "back end resource" which it is not clear.

**Describe the solution you'd like**
How about a method that really turns off the connection and clears the value of the client in memory.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.