Blocking.pm: add some comments

git-svn-id: https://svn.fhem.de/fhem/trunk@6833 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-10-30 07:08:55 +00:00
parent 7f42461c87
commit 236a3c9408

View File

@@ -81,7 +81,10 @@ BlockingCall($$@)
# Child here
foreach my $d (sort keys %defs) { # Close all kind of FD
# Close all kind of FD. Reasons:
# - cannot restart FHEM if child keeps TCP Serverports open
# ...?
foreach my $d (sort keys %defs) {
my $h = $defs{$d};
$h->{DBH}->{InactiveDestroy} = 1 if($h->{TYPE} eq 'DbLog');
TcpServer_Close($h) if($h->{SERVERSOCKET});