diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-18 14:45:21 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-18 14:45:21 -0500 |
commit | 69043f73c55cde336eff7f14304e891f1639cbea (patch) | |
tree | e70467d1318bec0458d95a7788e346a054778175 | |
parent | 62f2eb908c6771f9ac89aa518c55fbc101df3447 (diff) | |
download | lingo-ap-tracker-69043f73c55cde336eff7f14304e891f1639cbea.tar.gz lingo-ap-tracker-69043f73c55cde336eff7f14304e891f1639cbea.tar.bz2 lingo-ap-tracker-69043f73c55cde336eff7f14304e891f1639cbea.zip |
Typo
-rw-r--r-- | src/ipc_state.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ipc_state.cpp b/src/ipc_state.cpp index 62b1828..fca4e59 100644 --- a/src/ipc_state.cpp +++ b/src/ipc_state.cpp | |||
@@ -71,10 +71,10 @@ struct IPCState { | |||
71 | } | 71 | } |
72 | 72 | ||
73 | void SetTrackerSlot(std::string server, std::string user) { | 73 | void SetTrackerSlot(std::string server, std::string user) { |
74 | // This is function is called from the APState thread, not the main thread, | 74 | // This function is called from the APState thread, not the main thread, and |
75 | // and it mutates protected state. It only really competes with OnMessage(), | 75 | // it mutates protected state. It only really competes with OnMessage(), when |
76 | // when a "Connect" message is received. If this is called right before, | 76 | // a "Connect" message is received. If this is called right before, and the |
77 | // and the tracker slot does not match the old game slot, it will initiate a | 77 | // tracker slot does not match the old game slot, it will initiate a |
78 | // disconnect, and then the OnMessage() handler will see should_disconnect | 78 | // disconnect, and then the OnMessage() handler will see should_disconnect |
79 | // and stop processing the "Connect" message. If this is called right after | 79 | // and stop processing the "Connect" message. If this is called right after |
80 | // and the slot does not match, IPC will disconnect, which is tolerable. | 80 | // and the slot does not match, IPC will disconnect, which is tolerable. |