[ERROR][17/12/2016 09:12:56][Thread 0014][Akka.Remote.Transport.Helios.TcpServerHandler] Error caught channel [[::ffff:127.0.0.1]:8092->[::ffff:127.0.0.1]:65321](Id=ChannelId(714342544))
Cause: System.Net.Sockets.SocketException (0x80004005): The I/O operation has been aborted because of either a thread exit or an application request
at Helios.Channels.Sockets.SocketChannelAsyncOperation.Validate()
at Helios.Channels.Sockets.AbstractSocketByteChannel.SocketByteChannelUnsafe.FinishRead(SocketChannelAsyncOperation operation)
Hi. I have problems with the synchronized-dispatcher. I want to create UI actors dynamically from a background thread. However the TaskSchedulerExecutor uses the TaskScheduler.FromCurrentSynchronizationContext() which is not available in the background thread and causes a "The current SynchronizationContext may not be used as a TaskScheduler." exception.
I tried to create my own Dispatcher implementation, so that I can just safe the TaskScheduler at startup. However, it seems like the necessary stuff is internal and I can not do what I want.
Any suggestions, how I can set the TaskScheduler at startup?