Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.0.2, JRuby 1.1b1
-
Fix Version/s: JRuby 1.0.3, JRuby 1.1RC2
-
Component/s: Core Classes/Modules
-
Labels:None
-
Number of attachments :
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.
Fixed.