monkey-front-core 0.0.398 → 0.0.399

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.
@@ -2753,18 +2753,14 @@ class MonkeyEcxCommonsService {
2753
2753
  const { clearOnChangeRoute } = this.otherArgs?.schedule?.options || {
2754
2754
  clearOnChangeRoute: false
2755
2755
  };
2756
- console.log('clearOnChangeRoute');
2757
- console.log(clearOnChangeRoute);
2758
- this.otherArgs.router.events.subscribe((resp) => {
2759
- console.log('====');
2760
- console.log(resp);
2761
- });
2762
2756
  this.otherArgs.router.events
2763
2757
  .pipe(filter((event) => {
2764
2758
  return event instanceof NavigationStart;
2765
2759
  }), take(1))
2766
2760
  .subscribe(() => {
2767
2761
  console.log('veio destruir o schedule');
2762
+ console.log(this.__schedule);
2763
+ console.log(this.clear);
2768
2764
  if (this.__schedule && clearOnChangeRoute) {
2769
2765
  console.log('destruiu o schedule');
2770
2766
  this.otherArgs?.schedule?.service?.removeSchedule(this.__schedule);