2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

fhem.pl: InternalTimer loop fix (Forum #40598)

git-svn-id: https://svn.fhem.de/fhem/trunk@9195 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-09-03 07:23:40 +00:00
parent 431e3df5a8
commit 75e5b0a49c

View File

@ -2670,7 +2670,8 @@ HandleTimeout()
# Check the internal list.
foreach my $i (sort { $intAt{$a}{TRIGGERTIME} <=>
$intAt{$b}{TRIGGERTIME} } keys %intAt) {
next if(!defined($i) || !$intAt{$i}); # deleted in the loop
$i = "" if(!defined($i)); # Forum #40598
next if(!$intAt{$i}); # deleted in the loop
my $tim = $intAt{$i}{TRIGGERTIME};
my $fn = $intAt{$i}{FN};
if(!defined($tim) || !defined($fn)) {