Andrey Demidov
Andrey Demidov
I think bug is at the disposing logic. 
I modified code to this and now it's works fine for me  PS. The exceptions are not from this part. .
I'm running net core console application.
My code is a part of big application. It can't work separately. May be problem is what I have about 10 field per history bar (different parameters). Now I'm using...
Where I can track it? I'm using WriteApi only at this simple code and I don't want to go down to such a low level.
me to System.ObjectDisposedException: Cannot access a disposed object. at System.Threading.TimerQueueTimer.Change(UInt32 dueTime, UInt32 period) at System.Threading.Timer.Change(Int32 dueTime, Int32 period) at WebSocket4Net.WebSocket.ClearTimer() at WebSocket4Net.WebSocket.FireClosed() at WebSocket4Net.WebSocket.OnClosed() at SuperSocket.ClientEngine.AuthenticatedStreamTcpSession.SendInternal(PosList`1 items) at System.Net.LazyAsyncResult.Complete(IntPtr userToken)...