ProtonMail / go-proton-api

Proton API library used by Go-based clients and tools
MIT License
129 stars 17 forks source link

fix(GODT-3124): Simplify locking in GPA server #132

Closed LBeernaertProton closed 11 months ago

LBeernaertProton commented 11 months ago

Access to all the fake server state is now guarded by a single RWLock rather then multiple locks per category. It has been observed in the past that this could lead to deadlocks in Bridge unit tests at random.