Run the Offscreen continuation on the Threadpool

This commit is contained in:
amaitland 2016-07-15 08:17:47 +10:00
parent 0d0043a956
commit 7f371af1a0

View File

@ -7,6 +7,7 @@ using System.Diagnostics;
using System.IO;
using System.Threading;
using CefSharp.OffScreen;
using System.Threading.Tasks;
namespace CefSharp.MinimalExample.OffScreen
{
@ -90,7 +91,7 @@ namespace CefSharp.MinimalExample.OffScreen
Process.Start(screenshotPath);
Console.WriteLine("Image viewer launched. Press any key to exit.");
});
}, TaskScheduler.Default);
});
}
}