mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-02 06:55:26 +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:
parent
6c14426b03
commit
ca0eb3d84e
@ -81,7 +81,10 @@ BlockingCall($$@)
|
|||||||
|
|
||||||
# Child here
|
# 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};
|
my $h = $defs{$d};
|
||||||
$h->{DBH}->{InactiveDestroy} = 1 if($h->{TYPE} eq 'DbLog');
|
$h->{DBH}->{InactiveDestroy} = 1 if($h->{TYPE} eq 'DbLog');
|
||||||
TcpServer_Close($h) if($h->{SERVERSOCKET});
|
TcpServer_Close($h) if($h->{SERVERSOCKET});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user