softwerkab / fortnox-csharp-api-sdk

.NET SDK for Fortnox API.
MIT License
52 stars 64 forks source link

SDK request never finished (potential deadlock) #152

Closed richardrandak closed 3 years ago

richardrandak commented 3 years ago

There were a couple of weird issues reported (#144 #147 #149) when the request sent through SDK has never finished.

Similar issue (#94 ) was reported in the past caused by a deadlock occurred when the code was executed from ASP or GUI thread. This was due to usage of internal async methods and awaiters, but was fixed by using ConfigureAwait(false) statements. In this case, however, using directly async methods worked fine.

Since I am not able to reproduce this issue, please contact me with more details if you have encountered it recently.

richardrandak commented 3 years ago

Hopefully will be solved with #180