zapit/src/zapit.cpp: add safe-check in Stop()

This commit is contained in:
[CST] Focus
2012-04-17 14:47:59 +04:00
parent f0ea5c75c7
commit 42813063aa

View File

@@ -2049,6 +2049,8 @@ bool CZapit::Start(Z_start_arg *ZapStart_arg)
bool CZapit::Stop()
{
if(!started)
return false;
started = false;
int ret = join();
return (ret == 0);