2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

Blocking.pm: the last change made it unusable for Windows (Forum #79222)

git-svn-id: https://svn.fhem.de/fhem/trunk@15409 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-11-08 14:51:20 +00:00
parent 5214b4e90c
commit 4510ad8423

View File

@ -131,7 +131,7 @@ BlockingStart(;$)
if($^O =~ m/Win/) {
# MaxNr of concurrent forked processes @Win is 64, and must use wait as
# $SIG{CHLD} = 'IGNORE' does not work.
wait;
wait if(!$h->{telnet} || !$defs{$h->{telnet}});
} else {
use POSIX ":sys_wait_h";
waitpid(-1, WNOHANG); # Forum #58867