mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
OWX_ASYNC_Disconnect: stop all Client-timers on disconnect
git-svn-id: https://svn.fhem.de/fhem/trunk@6273 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7bc61d1803
commit
99025cd27d
@ -127,7 +127,7 @@ my %attrs = (
|
||||
);
|
||||
|
||||
#-- some globals needed for the 1-Wire module
|
||||
$owx_async_version=5.6;
|
||||
$owx_async_version=5.7;
|
||||
#-- Debugging 0,1,2,3
|
||||
$owx_async_debug=0;
|
||||
|
||||
@ -291,6 +291,7 @@ sub OWX_ASYNC_Disconnect($) {
|
||||
delete $hash->{ASYNC};
|
||||
};
|
||||
$hash->{STATE} = "disconnected" if $hash->{STATE} eq "Active";
|
||||
GP_ForallClients($hash,\&RemoveInternalTimer,undef);
|
||||
};
|
||||
|
||||
########################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user