made ServiceManager a static class

This commit is contained in:
2023-07-30 15:48:22 +02:00
parent 3b3c69ee56
commit 088fce0aaa
4 changed files with 33 additions and 35 deletions

View File

@@ -25,7 +25,7 @@ class Res extends CLIAppBase {
},"<url>");
registerAsyncSubcommand("register",(args)->{
var srv: Null<ResManager> = ServiceManager.instance.get("resmgr");
var srv: Null<ResManager> = ServiceManager.get("resmgr");
var addr = args[0];
var name = args[1];