Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
c7d07067
Commit
c7d07067
authored
Dec 11, 2019
by
Francesc Guasch
Browse files
fix(backend): done process get closed
parent
4480daf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
c7d07067
...
...
@@ -2599,8 +2599,7 @@ sub _wait_pids {
for
my
$type
(
keys
%
{
$self
->
{
pids
}}
)
{
for
my
$pid
(
keys
%
{
$self
->
{
pids
}
->
{
$type
}})
{
my
$kid
=
waitpid
(
$pid
,
WNOHANG
);
last
if
$kid
<=
0
;
push
@done
,
(
$kid
);
push
@done
,
(
$pid
)
if
$kid
==
$pid
||
$kid
==
-
1
;
}
}
return
if
!
@done
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment