mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
zapit/src/zapit.cpp: add safe-check in Stop()
This commit is contained in:
@@ -2049,6 +2049,8 @@ bool CZapit::Start(Z_start_arg *ZapStart_arg)
|
|||||||
|
|
||||||
bool CZapit::Stop()
|
bool CZapit::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