Half-Shot / matrix-dotnet-sdk

A matrix client library in .NET (C#)
MIT License
62 stars 23 forks source link

Problem with Mutex combined with async #6

Closed xafero closed 1 year ago

xafero commented 5 years ago

Thanks for your awesome library! To give a little bit back, I want to report an issue.

There is a problem using System.Threading.Mutex in the MatrixAPI class. It is used in eventSendMutex and causes problems combined with async calls.

Result in runtime is:

Maybe one could use SemaphoreSlim and WaitAsync?

TristanA0 commented 5 years ago

Same problem, any news about this issue?

xafero commented 1 year ago

Nothing updating here.