diff options
author | Alexander Demidenko <hurd@yandex-team.ru> | 2021-03-19 12:11:21 +0700 |
---|---|---|
committer | Alexander Demidenko <hurd@yandex-team.ru> | 2021-03-19 12:24:59 +0700 |
commit | 8ff6fc436ce5a5be694e7d4cc9e56ded10184d80 (patch) | |
tree | 9e0b6b8ead5d6a16c4e552e9185e8ac2423d4c88 /go.mod | |
parent | 4e16c7100cc7f8dddca051ff393460d7a1a77c98 (diff) |
Fix panic during disconnection
Sometimes there are situations when the callback is called during the processing of the disconnect.
To avoid problems with races (for example, when using race-detector), use atomic pointers.
Signed-off-by: Alexander Demidenko <hurd@yandex-team.ru>
Change-Id: Ic825872ac620d68a191bc88889a096b15ea57464
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions