mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Added missing GUI thread swapover
This commit is contained in:
parent
08cf5a6d50
commit
4469cf1fd9
@ -174,6 +174,7 @@ namespace Wabbajack
|
||||
ProgressPercent = Percent.Zero;
|
||||
using (var queue = new WorkQueue(1))
|
||||
using (queue.Status.Select(i => i.ProgressPercent)
|
||||
.ObserveOnGuiThread()
|
||||
.Subscribe(percent => ProgressPercent = percent))
|
||||
{
|
||||
var tcs = new TaskCompletionSource<bool>();
|
||||
|
Loading…
Reference in New Issue
Block a user