CZapitSdtMonitor: don't crash in destructor

Origin commit data
------------------
Commit: 1ddd81fb7b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)
This commit is contained in:
Stefan Seyfried
2013-04-14 19:11:34 +02:00
committed by [CST] Focus
parent 766356ec59
commit 297375fa4c

View File

@@ -2445,6 +2445,8 @@ bool CZapitSdtMonitor::Start()
bool CZapitSdtMonitor::Stop()
{
if (!started)
return false;
started = false;
int ret = join();
return (ret == 0);