Commit c3f10629 authored by anonym's avatar anonym
Browse files

Test suite: also handle Errno::ESRCH.

parent 79c5e929
......@@ -58,7 +58,7 @@ class Display
begin
begin
Process.kill("KILL", p.pid)
rescue IOError
rescue IOError, Errno::ESRCH
# Process has already exited.
end
p.close
......
......@@ -40,7 +40,7 @@ module OpenCV
begin
begin
Process.kill("KILL", p.pid)
rescue IOError
rescue IOError, Errno::ESRCH
# Process has already exited.
end
p.close
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment