Update src/index.ts to call Container.destroy(...)
This commit is contained in:
parent
2209ff685f
commit
846461bac6
@ -9,5 +9,7 @@ globalRegistry.run(async () => {
|
||||
* ties your entire application together. The app container manages services
|
||||
* and lifecycle.
|
||||
*/
|
||||
await app().run()
|
||||
const theApp = app()
|
||||
await theApp.run()
|
||||
await theApp.destroy()
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user