Skip to content

Commit d4fc3a8

Browse files
committed
Renamed to .
1 parent b175b6b commit d4fc3a8

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

lib/concurrent/configuration.rb

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,10 @@ def self.use_stdlib_logger(level = Logger::FATAL, output = $stderr)
7373
end
7474
end
7575

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.
8180
#
8281
# @note this option should be needed only because of `at_exit` ordering
8382
# 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)
8887
# from within a gem. It should *only* be used from within the main
8988
# application and even then it should be used only when necessary.
9089
# @see AtExit
91-
def self.disable_at_exit_hooks!
90+
def self.disable_at_exit_handlers!
9291
AtExit.enabled = false
9392
end
9493

9594
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!
9897
end
9998

10099
# @return [true,false]

0 commit comments

Comments
 (0)