backend-app-api: text

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-12-02 16:37:50 +01:00
parent afa3bf5657
commit 1f2edda7c3
@@ -179,7 +179,7 @@ export class BackendInitializer {
'root',
);
// TODO(Rugvip): :D
// TODO(Rugvip): Find a better way to do this
const lifecycle = (lifecycleService as any)?.lifecycle;
if (lifecycle instanceof BackendLifecycleImpl) {
await lifecycle.shutdown();