CZapitSdtMonitor: don't crash in destructor

This commit is contained in:
Stefan Seyfried
2013-04-14 19:11:34 +02:00
committed by [CST] Focus
parent 4f31b4e779
commit 1ddd81fb7b

View File

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