OWX_ASYNC_Disconnect: stop all Client-timers on disconnect

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6273 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess
2014-07-18 21:50:49 +00:00
parent 1d59bab248
commit 15f80d8654

View File

@@ -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);
};
########################################################################################