mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +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()
|
||||
{
|
||||
if(!started)
|
||||
return false;
|
||||
started = false;
|
||||
int ret = join();
|
||||
return (ret == 0);
|
||||
|
Reference in New Issue
Block a user