From: Maxim Mamontov <faust.madf@gmail.com>
Date: Sun, 6 Sep 2015 10:05:32 +0000 (+0300)
Subject: Fixed crash on stopping mod_radius.
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/114e097d3658e41e7946b5d5ba1ad2ffdc7fe2d9?ds=sidebyside

Fixed crash on stopping mod_radius.
---

diff --git a/projects/stargazer/plugins/other/radius/radius.cpp b/projects/stargazer/plugins/other/radius/radius.cpp
index 6e026fe7..68a96d29 100644
--- a/projects/stargazer/plugins/other/radius/radius.cpp
+++ b/projects/stargazer/plugins/other/radius/radius.cpp
@@ -233,6 +233,7 @@ int RADIUS::createTCP() const
 void RADIUS::runImpl()
 {
     m_running = true;
+    m_stopped = false;
 
     while (m_running) {
         fd_set fds;