application-shutdown
Workaround for non-compliant JVM not sending WindowClosing events
Apple JVM on various OS X version have apparently been broken in that they do not generate the WindowClosing event when they should (for example if you close an app\'s main JFrame using by clicking on[详细]
2023-04-12 21:07 分类:问答Is there a Delphi event that is guaranteed to be called when an app terminates but before any forms are destroyed?
I am using Delphi 6 Pro.I need an event that will fire when my application is de开发者_StackOverflow中文版finitely shutting down but before any Forms are destroyed.I thought about trapping WM_QUIT mes[详细]
2023-04-11 21:27 分类:问答Possible causes of an java application server's instance sudden shutdown
Given that I\'m developer and knowledge of app servers is scoped to the basics such as deploying, declaring / mapping resources.[详细]
2023-04-03 12:16 分类:问答contextDestroyed() vs addShutdownHook()
I\'m currently implementing ServletContextListener and using contextDestroyed() to r开发者_Go百科un cleanup tasks on my web application before it shuts down.However, I\'ve been reading about how Runti[详细]
2023-03-25 05:16 分类:问答How to subscribe to application shutdown event in class library
There is开发者_如何学JAVA a class library used by some application. It contains a class A for external usage with a static field of another private class B inside the library. User application uses in[详细]
2023-03-25 02:08 分类:问答How to find out which code calls an already unloaded module?
I got a typical access violation: access violation at 0x4ebb7456: read of address 0x4ebb7456 This happens in a thread that is created when the rest of the program is already shutting down.[详细]
2023-03-24 02:28 分类:问答Application.Current.Shutdown(-1) not closing WPF app
I am checking if the windows authenticated user is a valid user for my wpf application or not. If not, I need to shut down the application; but even after executingApplication.Current.Shutdown(-1) th[详细]
2023-03-17 14:57 分类:问答Controlled application shut-down strategy
Our (Windows native C++) app is composed of threaded objects and managers.It is pretty well written, with a design that sees Manager objects controlling the lifecycle of their minions. Various objects[详细]
2023-03-15 22:57 分类:问答Is there a way to auto-power on the phone
I want to do a custom Timer app. I want it can start up and shutdown. I searched and found that starting it up needs root rights.Can anyone give me some clue to finish this?[详细]
2023-03-11 14:14 分类:问答C#: In a finalizer, how to find out if the application is shutting down?
I have a finalizer that seems to always fail during application shutdown. I think this is because it\'s holding onto some native resources that are no longer valid at that point. Is there a way to tel[详细]
2023-02-27 00:40 分类:问答