mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 17:46:28 +08:00
core: use cordis to manage app lifecycle
This commit is contained in:
1 parent
d7ec26b772
commit
5b7067d77d
19 files changed
+307
-375
No files matched your search
@@ -35,3 +35,4 @@ if (!global.Hydro) {
|
||||
};
|
||||
global.addons = [];
|
||||
}
|
||||
global.app = new (require('./context').Context)();
|
||||
Reference in new issue
Block a user