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