when the app crashed unexpectedly, there are many resources not released, and when I restart the app without reboot, It always restart failed. How can I restart the app normally without reboot?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
when the app crashed unexpectedly, there are many resources not released, and when I restart the app without reboot, It always restart failed. How can I restart the app normally without reboot?
Hi liu davis,
Well, it depends on if you are using some resources from the remote core, because those resources will not be released and next time on trying to allocate same resource, it can fail..
Ideally, should implemented signal handler for ctrl+c/x and other signals and should close all the resources in the application for a clean exit.
Regards,
Brijesh
Hi liu davis,
Even in this case, there should be signal handler in the application to release the resources..
No I really dont think you could release resources on application restart, as this needs to be done with the original handles which are already closed in the first run.
Regards,
Brijesh
Cool, good to know. If possible, please share your mechanism and please close the ticket.