X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a500fb72810060e52d87ad2c2e4691531f0bcc5a..a91e9542b384905187890f161d4da5396996fcfd:/projects/stargazer/plugins/other/ping/ping.cpp?ds=sidebyside diff --git a/projects/stargazer/plugins/other/ping/ping.cpp b/projects/stargazer/plugins/other/ping/ping.cpp index a8dda2a6..53f7b2f0 100644 --- a/projects/stargazer/plugins/other/ping/ping.cpp +++ b/projects/stargazer/plugins/other/ping/ping.cpp @@ -128,6 +128,8 @@ while (users_iter != usersList.end()) if (isRunning) m_thread.detach(); +else + m_thread.join(); return 0; }