JRuby

Trap not returning a proc as the previous handler

Details

  • Number of attachments :
    0

Description

Our favorite method #trap still doesn't behave quite right. It should return a proc as the previous handler, so that trap(sig, prev) will work for restoring the old one.

ActiveRecord currently traps TERM in a transaction to protect against that signal during an open transaction – we won't obey this properly until this is fixed.

Activity

Hide
Ola Bini added a comment -

Fixed.

Show
Ola Bini added a comment - Fixed.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: