yodaos-project / yoda.js

Application Framework that powered YodaOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lifetime: need to destroy all applications before shutting down.

FeelyChau opened this issue · comments

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