@venok/http 2.2.0-next.3 → 2.2.0-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,6 +44,9 @@ class HttpStarterModule {
44
44
  this.container = container;
45
45
  this.httpConfig = httpConfig;
46
46
  }
47
+ async onApplicationShutdown() {
48
+ await this.adapter.close();
49
+ }
47
50
  async onApplicationBootstrap() {
48
51
  const routes = this.adapter[VENOK_ADAPTER_BUILD]();
49
52
  this.adapter[VENOK_APPLY_ROUTES_TO_INSTANCE](routes);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venok/http",
3
- "version": "2.2.0-next.3",
3
+ "version": "2.2.0-next.4",
4
4
  "description": "",
5
5
  "author": "shiz-ceo",
6
6
  "homepage": "",