Project

General

Profile

Defect #44378 » 0001-Fix-zombie-convert-process-left-behind-when-thumbnai.patch

Go MAEDA, 2026-08-26 16:43

View differences:

lib/redmine/thumbnail.rb
66 66
            end
67 67
          end
68 68
        rescue Timeout::Error
69
          Process.kill('KILL', pid)
69
          if pid
70
            Process.kill('KILL', pid)
71
            Process.detach(pid)
72
          end
70 73
          logger.error("Creating thumbnail timed out:\nCommand: #{cmd}")
71 74
          return nil
72 75
        end
(1-1/2)