浏览代码

Task.Run already starts the task, calling .Start() throws an error

Brendan Forster 9 年之前
父节点
当前提交
3af56a49fd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Rx.NET/Source/Tests.System.Reactive/Tests/Linq/ObservableBlockingTest.cs

+ 1 - 1
Rx.NET/Source/Tests.System.Reactive/Tests/Linq/ObservableBlockingTest.cs

@@ -1178,7 +1178,7 @@ namespace ReactiveTests.Tests
                     obs.OnNext(1);
                     evt.WaitOne();
                     obs.OnError(ex);
-                }).Start();
+                });
 
                 return () => { };
             });