Skip to content

Commit

Permalink
Fix wrong sessionService reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mserra-github committed Nov 22, 2023
1 parent 7dae8f3 commit de3e90c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public abstract class ApplicationBaseViewModel : HaveObjectChangedTracking, IApp
protected ApplicationBaseViewModel(ISessionService sessionService)
{
this.Disposables.Add(CDPMessageBus.Current.Listen<SessionEvent>()
.Where(x => x.Session == this.SessionService?.Session && x.Status == SessionStatus.EndUpdate)
.Where(x => x.Session == sessionService?.Session && x.Status == SessionStatus.EndUpdate)
.SubscribeAsync(_ => this.OnSessionRefreshed()));

this.SessionService = sessionService;
Expand Down

0 comments on commit de3e90c

Please sign in to comment.