-
Notifications
You must be signed in to change notification settings - Fork 311
Output to console that the application is shutting down gracefully #794
Comments
How long did it take? |
Takes a while sometimes, most of the times not so much. The problem is that people won't know what's going on and will just force it to exit (that's what I've been doing). This might or might not be problematic, I use |
That makes sense. It really won't help in the general case (since this only helps when looking at the console directly) but I don't see a problem doing this. |
Yeah, that's my reasoning also. I'll do a PR. |
We'll likely not take this for 1.0.0 since we're pretty much locking down. Also consider this bug that we do plan to fix #770 (which is about sprinkling Console messages that need to be turned off sometimes). |
Oh makes sense, then feel free to close this if you want. |
@davidfowl I did a PR anyway. Feel free to do whatever is appropriate. |
Thanks! |
@Tratcher Could you take a look? Seems simple enough to take in 1.0.0 for me. |
It looks fine, but it can wait, it's only a cosmetic issue. |
Until recently whenever I wanted to stop my app I felt that
ctrl+c
felt really slow without a reason, I didn't know that it was canceling the shutdown to wait for the main thread to exit gracefully.So perhaps output a message after this line of code to say that "Application is shutting down." so that it doesn't feel like nothing is going on?
The text was updated successfully, but these errors were encountered: