mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
01_FHEMWEB.pm: fix asyncOutput warning on removed window (Forum #120181)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@24176 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
34c36dc511
commit
6cf1da4c85
@ -759,7 +759,7 @@ FW_AsyncOutput($$)
|
||||
Log3 $hash->{SNAME}, 4, "AsyncOutput from $hash->{NAME}";
|
||||
$hash = $FW_id2inform{$fwid};
|
||||
if($hash) {
|
||||
FW_addToWritebuffer($hash, $data."\n");
|
||||
FW_addToWritebuffer($hash, $data."\n") if(defined($hash->{FD})); #120181
|
||||
} else {
|
||||
$defs{$FW_wname}{asyncOutput}{$fwid} = $data;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user