Removed the Wait call after RunSynchronously as it is not needed and causes an exception with Mono
This commit is contained in:
1 parent
5e58f4a1f8
commit
43be49387a
1 file changed
-2
@@ -205,8 +205,6 @@ namespace Vocaluxe.Base.Server
|
|||||||
Task task = _ServerTaskQueue.Dequeue();
|
Task task = _ServerTaskQueue.Dequeue();
|
||||||
//Start the task
|
//Start the task
|
||||||
task.RunSynchronously(TaskScheduler.FromCurrentSynchronizationContext());
|
task.RunSynchronously(TaskScheduler.FromCurrentSynchronizationContext());
|
||||||
|
|
||||||
task.Wait();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user