@osovitny/anatoly 2.0.32 → 2.0.33

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.
@@ -2303,6 +2303,7 @@
2303
2303
  */
2304
2304
  var BaseComponent = /** @class */ (function () {
2305
2305
  function BaseComponent() {
2306
+ this.subs = new Subs();
2306
2307
  }
2307
2308
  BaseComponent.prototype.getQSId = function () {
2308
2309
  var id = Utils.getValueByNameInQS("id");
@@ -2310,6 +2311,9 @@
2310
2311
  return null;
2311
2312
  return id;
2312
2313
  };
2314
+ BaseComponent.prototype.ngOnDestroy = function () {
2315
+ this.subs.unsubscribe();
2316
+ };
2313
2317
  return BaseComponent;
2314
2318
  }());
2315
2319