mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-29 23:47:10 +00:00
fhem.pl: trying to fix the syswrite on closed FH problem
git-svn-id: https://svn.fhem.de/fhem/trunk@4286 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a698f7cf9c
commit
3823fde597
@ -511,7 +511,7 @@ while (1) {
|
|||||||
# attached again.
|
# attached again.
|
||||||
foreach my $p (keys %selectlist) {
|
foreach my $p (keys %selectlist) {
|
||||||
my $hash = $selectlist{$p};
|
my $hash = $selectlist{$p};
|
||||||
next if(!$hash || !$hash->{NAME}); # due to rereadcfg/del
|
next if(!$hash || !$hash->{NAME} || !$defs{$hash->{NAME}}); # due to delete
|
||||||
|
|
||||||
CallFn($hash->{NAME}, "ReadFn", $hash)
|
CallFn($hash->{NAME}, "ReadFn", $hash)
|
||||||
if(defined($hash->{FD}) && vec($rout, $hash->{FD}, 1));
|
if(defined($hash->{FD}) && vec($rout, $hash->{FD}, 1));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user