threading race condition fixes, detected by TSAN
This commit is contained in:
@ -48,9 +48,10 @@ namespace ix
|
||||
|
||||
WebSocketCloseInfo(uint64_t c = 0,
|
||||
const std::string& r = std::string())
|
||||
: code(c)
|
||||
, reason(r)
|
||||
{
|
||||
code = c;
|
||||
reason = r;
|
||||
;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user