Unverified Commit 6c540ca1 authored by honfika's avatar honfika Committed by GitHub

Merge pull request #747 from Brushedoctopus/master

.Net45 compatibility returns a finished task
parents b62e9dd0 0fcbbe3f
...@@ -8,7 +8,7 @@ namespace Titanium.Web.Proxy ...@@ -8,7 +8,7 @@ namespace Titanium.Web.Proxy
{ {
public static byte[] EmptyArray = new byte[0]; public static byte[] EmptyArray = new byte[0];
public static Task CompletedTask = new Task(() => { }); public static Task CompletedTask = Task.FromResult<object>(null);
} }
} }
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment