threading race condition fixes, detected by TSAN

This commit is contained in:
Benjamin Sergeant
2018-12-06 08:27:28 -08:00
parent c64bc20bb5
commit 49bf8bd830
10 changed files with 102 additions and 59 deletions

View File

@ -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;
;
}
};