2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

fhem.pl: readingsEndUpdate called from a notify for the same device may crash FHEM.

git-svn-id: https://svn.fhem.de/fhem/trunk@3712 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-08-16 06:57:44 +00:00
parent 0c6994808c
commit a27c3d9a6a

View File

@ -3333,7 +3333,7 @@ readingsEndUpdate($$)
if($dotrigger && $init_done) {
DoTrigger($name, undef, 0) if(!$readingsUpdateDelayTrigger);
} else {
delete($hash->{CHANGED});
delete($hash->{CHANGED}) if(!defined($hash->{INTRIGGER}));
}
return undef;