diff options
Diffstat (limited to 'source/cAuthenticator.cpp')
-rw-r--r-- | source/cAuthenticator.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/source/cAuthenticator.cpp b/source/cAuthenticator.cpp index 9e176e0c5..c82b8cec0 100644 --- a/source/cAuthenticator.cpp +++ b/source/cAuthenticator.cpp @@ -37,9 +37,7 @@ cAuthenticator::cAuthenticator(void) : cAuthenticator::~cAuthenticator()
{
- mShouldTerminate = true;
- mQueueNonempty.Set();
- Wait();
+ Stop();
}
@@ -102,6 +100,17 @@ void cAuthenticator::Authenticate(const AString & iUserName, const AString & iSe +void cAuthenticator::Stop(void)
+{
+ mShouldTerminate = true;
+ mQueueNonempty.Set();
+ Wait();
+}
+
+
+
+
+
void cAuthenticator::Execute(void)
{
while (true)
|