mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
CZapitSdtMonitor: don't crash in destructor
This commit is contained in:
committed by
[CST] Focus
parent
4f31b4e779
commit
1ddd81fb7b
@@ -2445,6 +2445,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