forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a crash when an Executor wrapped fork exit.
Fix rails#51298 forking inside an Execution Wrapper crashes when running the completion callbacks. Rails 7.0 was not Execution wrapping the `runner` command. Rails 7.2 changed the definition of `active_connection?`, the new definition doesn't contain the bug. Therefore forking inside a script intended to be run with the `runner` command on 7.1 crashes. (see rails#51298)
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters