bbj-screen-widget 2.4.47 → 2.4.48

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.
@@ -14151,10 +14151,20 @@
14151
14151
  this.destroy$.complete();
14152
14152
  this.destroyed = true;
14153
14153
  if (this.view) {
14154
- this.view.destroy();
14154
+ try {
14155
+ this.view.destroy();
14156
+ }
14157
+ catch (e) {
14158
+ console.error(e);
14159
+ }
14155
14160
  }
14156
14161
  if (this.map) {
14157
- this.map.destroy();
14162
+ try {
14163
+ this.map.destroy();
14164
+ }
14165
+ catch (e) {
14166
+ console.error(e);
14167
+ }
14158
14168
  }
14159
14169
  };
14160
14170
  CustomBaiduMapComponent.prototype.mapLoaded = function (map) {