diff --git a/README.md b/README.md index 5ca4577e..4de82d90 100644 --- a/README.md +++ b/README.md @@ -874,7 +874,7 @@ public class CommandViewModel : IDisposable public void Dispose() { - Disposable.Combine(OnCheck, ShowMessageBox); + Disposable.Dispose(OnCheck, ShowMessageBox); } } ``` @@ -2167,4 +2167,4 @@ Similar to `IObservable`, if you want to stop the stream when an `OnErrorResu License --- -This library is under the MIT License. \ No newline at end of file +This library is under the MIT License.