We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c41445f commit 88bb816Copy full SHA for 88bb816
src/net45/WampSharp/WAMP2/V2/Api/Rx/WampClientSubject.cs
@@ -98,7 +98,16 @@ public void Dispose()
98
(mDisposableTask.Exception == null))
99
{
100
IAsyncDisposable result = mDisposableTask.Result;
101
- result.DisposeAsync();
+ result.DisposeAsync().ContinueWith(x =>
102
+ {
103
+ if (x.Exception != null)
104
105
+ // Done in order to avoid .NET 4.0 UnhandledException
106
+ // Nobody sees this exception anyway. I hope that we
107
+ // soon get a version of Reactive Extensions which is more
108
+ // suited for remote pub/sub, and allows to return AsyncDispoables.
109
+ }
110
+ });
111
}
112
113
0 commit comments