CZapitSdtMonitor: don't crash in destructor

This commit is contained in:
Stefan Seyfried
2013-04-14 19:11:34 +02:00
parent 473f33e57f
commit 02e2956113

View File

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