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

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3712 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-08-16 06:57:44 +00:00
parent b282c0f0b1
commit a4ff8afb71

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;