mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CZapitSdtMonitor: don't crash in destructor
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user