Fix ::Interrupt exception handling
parent
9f669a8e39
commit
4d008ca3f3
|
@ -103,7 +103,11 @@ module ModuleCommandDispatcher
|
||||||
begin
|
begin
|
||||||
@tl.first.join
|
@tl.first.join
|
||||||
rescue ::Exception => exception
|
rescue ::Exception => exception
|
||||||
elog("#{exception} #{exception.class}:\n#{exception.backtrace.join("\n")}")
|
if exception.kind_of?(::Interrupt)
|
||||||
|
raise exception
|
||||||
|
else
|
||||||
|
elog("#{exception} #{exception.class}:\n#{exception.backtrace.join("\n")}")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@tl.delete_if { |t| not t.alive? }
|
@tl.delete_if { |t| not t.alive? }
|
||||||
|
|
Loading…
Reference in New Issue