mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
Patch from justme1968, see http://forum.fhem.de/index.php?t=post&reply_to=70364&rid=8
git-svn-id: https://svn.fhem.de/fhem/trunk@2989 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
31b1edc3c1
commit
46251855fa
@ -74,6 +74,13 @@ BlockingCall($$@)
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Child here
|
# Child here
|
||||||
|
|
||||||
|
foreach my $d (sort keys %defs) { # Close all open TCP-Server sockets
|
||||||
|
my $h = $defs{$d};
|
||||||
|
next if(!$h->{SERVERSOCKET});
|
||||||
|
TcpServer_Close($h);
|
||||||
|
}
|
||||||
|
|
||||||
no strict "refs";
|
no strict "refs";
|
||||||
my $ret = &{$blockingFn}($arg);
|
my $ret = &{$blockingFn}($arg);
|
||||||
use strict "refs";
|
use strict "refs";
|
||||||
|
Loading…
Reference in New Issue
Block a user