mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 16:27:31 +09:00
Issue #1767 - Prevent incorrect calling of network change detection function.
This rewrites the websocket channel network change detection function to not skip part of its logic in a situation that has already been checked, preventing a thread race. See analysis of the problem in the issue.
This commit is contained in:
parent
0be821b7c1
commit
434b3269fb
2 changed files with 16 additions and 13 deletions
|
|
@ -146,6 +146,7 @@ private:
|
|||
void GeneratePong(uint8_t *payload, uint32_t len);
|
||||
void GeneratePing();
|
||||
|
||||
nsresult OnNetworkChangedTargetThread();
|
||||
nsresult OnNetworkChanged();
|
||||
nsresult StartPinging();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue