@milaboratories/pl-client 2.4.18 → 2.4.20

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.
package/dist/index.mjs CHANGED
@@ -11605,8 +11605,8 @@ class Fn {
11605
11605
  });
11606
11606
  }
11607
11607
  /** Closes underlying transport */
11608
- close() {
11609
- this.grpcTransport.close();
11608
+ async close() {
11609
+ this.grpcTransport.close(), await this.httpDispatcher.destroy();
11610
11610
  }
11611
11611
  }
11612
11612
  const cn = {
@@ -11737,8 +11737,8 @@ class fe {
11737
11737
  return this.drivers.set(e.name, i), i;
11738
11738
  }
11739
11739
  /** Closes underlying transport */
11740
- close() {
11741
- this.ll.close();
11740
+ async close() {
11741
+ await this.ll.close();
11742
11742
  }
11743
11743
  static async init(e, t, i = {}) {
11744
11744
  const n = new fe(e, t, i);