lifetime: need to destroy all applications before shutting down.
FeelyChau opened this issue · 1 comments
FeelyChau commented
Is your feature request related to a problem? Please describe.
The current 'shutdown' operation is a direct shutdown of the system, the apps is not destroyed.
We should destroy them and wait for all apps to quit, ensuring that the apps has the opportunity to handle the event.
Describe the solution you'd like
Before shutdown, lifetime needs to destroy all the apps.
Describe alternatives you've considered
FeelyChau commented