This commit is contained in:
2025-11-11 15:26:05 +01:00
parent 705962e5ce
commit eda3cf87d1
2 changed files with 12 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ int main(int argc, char** argv) {
try {
log("ColumnLynx Client, Version " + getVersion());
log("This software is licensed under the GPLv2 only OR the GPLv3. See LICENSE for details.");
log("This software is licensed under the GPLv2 only OR the GPLv3. See LICENSES/ for details.");
LibSodiumWrapper sodiumWrapper = LibSodiumWrapper();
@@ -78,7 +78,7 @@ int main(int argc, char** argv) {
// Client is running
// TODO: SIGINT or SIGTERM seems to not kill this instantly!
while (client->isConnected() || !client->isHandshakeComplete() || !done) {
while ((client->isConnected() || !client->isHandshakeComplete()) && !done) {
std::this_thread::sleep_for(std::chrono::milliseconds(100)); // Temp wait
if (client->isHandshakeComplete()) {