2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

01_FHEMWEB.pm: fix asyncOutput warning on removed window (Forum #120181)

git-svn-id: https://svn.fhem.de/fhem/trunk@24176 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-04-07 18:00:53 +00:00
parent 4f6c1e57c0
commit 39bb231e21

View File

@ -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;
}