@@ -73,11 +73,10 @@ def self.use_stdlib_logger(level = Logger::FATAL, output = $stderr)
73
73
end
74
74
end
75
75
76
- # Disables AtExit hooks including pool auto-termination hooks.
77
- # When disabled it will be the application
78
- # programmer's responsibility to ensure that the hooks
79
- # are shutdown properly prior to application exit
80
- # by calling {AtExit.run} method.
76
+ # Disables AtExit handlers including pool auto-termination handlers.
77
+ # When disabled it will be the application programmer's responsibility
78
+ # to ensure that the handlers are shutdown properly prior to application
79
+ # exit by calling {AtExit.run} method.
81
80
#
82
81
# @note this option should be needed only because of `at_exit` ordering
83
82
# issues which may arise when running some of the testing frameworks.
@@ -88,13 +87,13 @@ def self.use_stdlib_logger(level = Logger::FATAL, output = $stderr)
88
87
# from within a gem. It should *only* be used from within the main
89
88
# application and even then it should be used only when necessary.
90
89
# @see AtExit
91
- def self . disable_at_exit_hooks !
90
+ def self . disable_at_exit_handlers !
92
91
AtExit . enabled = false
93
92
end
94
93
95
94
def self . disable_executor_auto_termination!
96
- deprecated_method 'disable_executor_auto_termination!' , 'disable_at_exit_hooks !'
97
- disable_at_exit_hooks !
95
+ deprecated_method 'disable_executor_auto_termination!' , 'disable_at_exit_handlers !'
96
+ disable_at_exit_handlers !
98
97
end
99
98
100
99
# @return [true,false]
0 commit comments