Commit 0fcbbe3f authored by ben.gordon's avatar ben.gordon

.Net45 compatibility returns a finished task

parent b62e9dd0
...@@ -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