mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
53_GHoma.pm: bugfix to prevent possible crash of FHEM
git-svn-id: https://svn.fhem.de/fhem/trunk@25910 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
af1f1839ee
commit
188d699447
@ -249,7 +249,11 @@ sub GHoma_moveclient($$) { # Handles von temporaerem Client zu Statischem uebe
|
||||
delete($selectlist{$thash->{NAME}});
|
||||
delete $thash->{FD};
|
||||
CommandDelete(undef, $thash->{NAME});
|
||||
syswrite( $chash->{CD}, GHoma_BuildString($init2) );
|
||||
eval { syswrite( $chash->{CD}, GHoma_BuildString($init2) ); };
|
||||
if ($@) {
|
||||
Log3 ($thash, 3, "$thash->{TYPE} ($thash->{NAME}) syswrite error: $@\cnHash: $chash->{CD}");
|
||||
return
|
||||
}
|
||||
InternalTimer(gettimeofday()+ $timeout, "GHoma_Timer", $chash,0);
|
||||
}
|
||||
#####################################
|
||||
|
Loading…
Reference in New Issue
Block a user