CZapitSdtMonitor: don't crash in destructor

This commit is contained in:
Stefan Seyfried
2013-04-14 19:11:34 +02:00
committed by Jacek Jendrzej
parent 833fb32197
commit a709a13f54

View File

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