CZapitSdtMonitor: don't crash in destructor

Origin commit data
------------------
Branch: ni/coolstream
Commit: a709a13f54
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-04-14 19:11:34 +02:00
committed by Jacek Jendrzej
parent d67b0305ab
commit 133d9713bd

View File

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