Top "Application-shutdown" questions

A graceful termination of the application, either in response to some input or by internal logic.

Express.js app not shutting down cleanly with server.close()

I'm trying to properly close a MongoDB connection when the app is shut down. Here is the code: var express = …

node.js mongodb express application-shutdown
How to turn off pc via windows API?

I never programmed a winapi so i have a little problem here . I need turn off my pc from my …

c++ windows winapi application-shutdown
How to debug a crash that only occurs on application shutdown? (Delphi)

So, after some recent changes we discovered that one of our oldest applications is sometimes crashing on shutdown. This manifests …

delphi debugging crash application-shutdown
Determine exit status within the java shutdown hook thread

I would like to determine the exit status of the process during the shutdown hook runtime. I want to have …

java shutdown application-shutdown