mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +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/fhem@3712 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
17e6f0123e
commit
68b85546e5
2
fhem.pl
2
fhem.pl
@ -3333,7 +3333,7 @@ readingsEndUpdate($$)
|
|||||||
if($dotrigger && $init_done) {
|
if($dotrigger && $init_done) {
|
||||||
DoTrigger($name, undef, 0) if(!$readingsUpdateDelayTrigger);
|
DoTrigger($name, undef, 0) if(!$readingsUpdateDelayTrigger);
|
||||||
} else {
|
} else {
|
||||||
delete($hash->{CHANGED});
|
delete($hash->{CHANGED}) if(!defined($hash->{INTRIGGER}));
|
||||||
}
|
}
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user