Defect #44378 » 0001-Fix-zombie-convert-process-left-behind-when-thumbnai.patch
| lib/redmine/thumbnail.rb | ||
|---|---|---|
|
end
|
||
|
end
|
||
|
rescue Timeout::Error
|
||
|
Process.kill('KILL', pid)
|
||
|
if pid
|
||
|
Process.kill('KILL', pid)
|
||
|
Process.detach(pid)
|
||
|
end
|
||
|
logger.error("Creating thumbnail timed out:\nCommand: #{cmd}")
|
||
|
return nil
|
||
|
end
|
||