Skip to content

Commit

Permalink
Incorrrect Combine instead of Dispose
Browse files Browse the repository at this point in the history
Dispose method incorrectly calls Disposable.Combine instead of Disposable.Dispose
  • Loading branch information
karthikr-vti authored May 28, 2024
1 parent b245f9f commit 86ef3c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ public class CommandViewModel : IDisposable

public void Dispose()
{
Disposable.Combine(OnCheck, ShowMessageBox);
Disposable.Dispose(OnCheck, ShowMessageBox);
}
}
```
Expand Down Expand Up @@ -2167,4 +2167,4 @@ Similar to `IObservable<T>`, if you want to stop the stream when an `OnErrorResu

License
---
This library is under the MIT License.
This library is under the MIT License.

0 comments on commit 86ef3c7

Please sign in to comment.