2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

FRM: fix rereadcfg for NetworkFirmata

git-svn-id: https://svn.fhem.de/fhem/trunk@5408 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess 2014-04-01 21:14:36 +00:00
parent affb49f14f
commit 9dd7f44cdc

View File

@ -101,7 +101,7 @@ sub FRM_Undef($) {
if (defined $hash->{DeviceName}) {
DevIo_Disconnected($hash);
};
TcpServer_Close($hash);
foreach my $d ( sort keys %main::defs ) { # close and dispose open tcp-connection (if any) to free open filedescriptors
if ( defined( my $dev = $main::defs{$d} )) {
if ( defined( $main::defs{$d}{SNAME} )