Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit d7b2353

Browse files
committed
Don't call cancel.OnCompleted after disposal.
`cancel.OnNext` causes `cancel` to get disposed, so don't try calling `OnCompleted` on it afterwards. Fixes #311.
1 parent a10a83c commit d7b2353

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/GitHub.UI.Reactive/Controls/SimpleViewUserControl.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ protected void NotifyCancel()
5656
return;
5757

5858
cancel.OnNext(null);
59-
cancel.OnCompleted();
6059
}
6160

6261
protected void NotifyIsBusy(bool busy)

0 commit comments

Comments
 (0)