mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 19:01:25 +02:00
CZapitSdtMonitor: don't crash in destructor
This commit is contained in:
committed by
Jacek Jendrzej
parent
833fb32197
commit
a709a13f54
@@ -2292,6 +2292,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