mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
72_UBUS_CALL: fix action on undefine
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25709 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
28d27ebac5
commit
78c426562f
@ -91,9 +91,10 @@ sub Define
|
|||||||
|
|
||||||
sub Undef
|
sub Undef
|
||||||
{
|
{
|
||||||
my $hash = shift // return;
|
my $hash = shift;
|
||||||
|
|
||||||
Disconnect($hash);
|
# Clean up possible previous / stale call IDs.
|
||||||
|
RemoveInternalTimer($hash, \&GetUpdate);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user