2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

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 6c14426b03
commit ca0eb3d84e

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