X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a500fb72810060e52d87ad2c2e4691531f0bcc5a..90b793eb07dc190eeb1144a1da079de760d17c36:/projects/stargazer/plugins/other/smux/smux.cpp diff --git a/projects/stargazer/plugins/other/smux/smux.cpp b/projects/stargazer/plugins/other/smux/smux.cpp index 77df9348..e0ddfffc 100644 --- a/projects/stargazer/plugins/other/smux/smux.cpp +++ b/projects/stargazer/plugins/other/smux/smux.cpp @@ -214,6 +214,8 @@ if (!stopped) if (!stopped) m_thread.detach(); +else + m_thread.join(); ResetNotifiers();