mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-07 13:48:28 +02:00
zapit.cpp: fix possible seqfault
Origin commit data
------------------
Commit: e367eea613
Author: GetAway <get-away@t-online.de>
Date: 2021-12-19 (Sun, 19 Dec 2021)
This commit is contained in:
@@ -1267,6 +1267,8 @@ void CZapit::Rezap(void)
|
|||||||
{
|
{
|
||||||
if (currentMode & RECORD_MODE)
|
if (currentMode & RECORD_MODE)
|
||||||
return;
|
return;
|
||||||
|
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_ts)
|
||||||
|
return;
|
||||||
if(config.rezapTimeout > 0)
|
if(config.rezapTimeout > 0)
|
||||||
sleep(config.rezapTimeout);
|
sleep(config.rezapTimeout);
|
||||||
if(current_channel)
|
if(current_channel)
|
||||||
|
Reference in New Issue
Block a user