Skip to content

Commit

Permalink
Rxjs 7 Upgrade (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-ebram authored May 26, 2021
1 parent c0acd5a commit c8bf6cd
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 14 deletions.
142 changes: 135 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"jquery-ui-dist": "^1.12.1",
"oidc-client": "^1.11.5",
"prettier": "^2.3.0",
"rxjs": "^6.6.7",
"rxjs": "^7.1.0",
"tslib": "^2.2.0",
"tslint-config-prettier": "^1.18.0",
"zone.js": "~0.11.4"
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class AppComponent implements OnDestroy {
}

ngOnDestroy() {
this.unsubscribe$.next();
this.unsubscribe$.next(null);
this.unsubscribe$.complete();
}
}
2 changes: 1 addition & 1 deletion src/app/components/console-page/console-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class ConsolePageComponent implements OnInit, OnDestroy {
}

ngOnDestroy(): void {
this.unsubscribe$.next();
this.unsubscribe$.next(null);
this.unsubscribe$.complete();
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/components/options-bar/options-bar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class OptionsBarComponent implements OnInit, OnDestroy {
}

ngOnDestroy() {
this.destroy$.next();
this.destroy$.next(null);
this.destroy$.complete();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class MountIsoDialogComponent implements OnInit, OnDestroy {
}

ngOnDestroy() {
this.unsubscribe$.next();
this.unsubscribe$.next(null);
this.unsubscribe$.complete();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class UserFollowPageComponent implements OnInit, OnDestroy {
ngOnDestroy(): void {
this.leaveUser();

this.unsubscribe$.next();
this.unsubscribe$.next(null);
this.unsubscribe$.complete();
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/services/notification/notification.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ class RetryPolicy {

return nextRetrySeconds * 1000;
}
}
}

0 comments on commit c8bf6cd

Please sign in to comment.