Closed tmdwns7809 closed 3 years ago
You probably have a deadlock caused by the use of Wait(). https://stackoverflow.com/questions/13140523/await-vs-task-wait-deadlock
You probably have a deadlock caused by the use of Wait(). https://stackoverflow.com/questions/13140523/await-vs-task-wait-deadlock
thank you so much i think you are right i will check it out
Describe the bug program stops when i subscribe consecutively. i think it falls in some deadlock
To Reproduce when i subcribe order book and then subscribe aggregated trade updates or vice versa, it stops at the 2nd subscribe function for example below
but when i do just one subscribe it doesn't stop and works well only happens when i subscribe 2 consecutively
please check this
Expected behavior A clear and concise description of what you expected to happen.
Debug logging mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout, bool exitContext) 알 수 없음 // this is the stopped stack mscorlib.dll!System.Threading.Monitor.Wait(object obj, int millisecondsTimeout) 알 수 없음 mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) 알 수 없음 mscorlib.dll!System.Threading.Tasks.Task.SpinThenBlockingWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) 알 수 없음 mscorlib.dll!System.Threading.Tasks.Task.InternalWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) 알 수 없음 mscorlib.dll!System.Threading.Tasks.Task.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) 알 수 없음 mscorlib.dll!System.Threading.Tasks.Task.Wait() 알 수 없음 [비동기 작업에서 대기 중, 두 번 클릭하거나 <Enter> 키를 눌러 비동기 호출 스택 보기]