kdcllc/CometD.NetCore

Should StateUpdateInProgressMutex really be a static Mutex?

AlexVallat opened this issue · 2 comments

It seems to me that this exclusion has no reason to synchronise across multiple instances of BayeuxClient, surely each should be independent? The _stateUpdateInProgress variable it protects is not static.

(I only mention this because when debugging I sometimes get into a state where it throws AbandonedMutexException and never recovers from it, even when disposing and creating a new BayeuxClient)

@AlexVallat thanks for your contribution!