-
Notifications
You must be signed in to change notification settings - Fork 893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebase app never terminates, even after deleteApp() #5692
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
"wtfnode" shows that a timer is still running (it's from a "failAfter()" call):
I can only find one call, In packages/functions/src/service.ts, line 252. It's in a Promise.race() with the actual call, which completes pretty quickly, so the minute-plus timeout is left running (it does eventually timeout and allow the program to exit--I'd never waited that long until I found the code). The code that responds to success should cancel this timer. |
Looks like a bug. Canceling that timeout should be handled in the functions service |
[REQUIRED] Describe your environment
Ubuntu 20.04 LTS, kernel 5.11.0-38-generic
NodeJS 14.16.0
Firebase 9.2.0
TypeScript 4.4.4
[REQUIRED] Describe the problem
App never terminates. Regardless of whether deleteApp() is called or not, node is left waiting for something and hangs.
This may be the a duplicate of #4987 , which is closed and locked so I can't add this as a comment there.
Relevant Code:
The text was updated successfully, but these errors were encountered: