@senior-gestao-empresarial/angular-components 7.16.1 → 7.16.2-develop-06e84e2d

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.
@@ -8182,10 +8182,6 @@ var PrimitiveManager = /** @class */ (function () {
8182
8182
  PrimitiveManager.prototype.getSubscriptionObservable = function () {
8183
8183
  return this.subscribed$.asObservable();
8184
8184
  };
8185
- PrimitiveManager.prototype.hasObservers = function () {
8186
- // @IMPORTANT: Replace .observers.length === 1 with .observed in rxjs 7.0+
8187
- return this.event$.observers.length !== 1;
8188
- };
8189
8185
  PrimitiveManager.prototype.getObserversCount = function () {
8190
8186
  return this.event$.observers.length;
8191
8187
  };
@@ -8536,9 +8532,6 @@ var WebsocketService = /** @class */ (function () {
8536
8532
  return __generator(this, function (_a) {
8537
8533
  switch (_a.label) {
8538
8534
  case 0:
8539
- if (primitiveManager.hasObservers()) {
8540
- return [2 /*return*/];
8541
- }
8542
8535
  primitiveManager.unsubscribe();
8543
8536
  key = this.buildPrimitiveManagerKey(primitiveManager.domain, primitiveManager.service, primitiveManager.primitive);
8544
8537
  this.primitiveManagers.delete(key);