This repository was archived by the owner on Nov 14, 2021. It is now read-only.

Description
Your environment.
- Version: c11bee9
- Browser: n/a
- Other Information -
What did you do?
has a race conditon.
The sync.Map and the len variable are not controlled by mutex/atomic operation. So they can be modified by different threads independently. During a simultanous add and delete, a non empty room can be destroyed. This seems to be a race condition?
What did you expect?
No race conditions present.
What happened?