File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -159,10 +159,10 @@ def activate on_fork: false
159159 # Thread management
160160 setup_threads
161161 thc = get_thread_client Thread . current
162- thc . is_management
162+ thc . make_management
163163
164164 if @ui . respond_to? ( :reader_thread ) && thc = get_thread_client ( @ui . reader_thread )
165- thc . is_management
165+ thc . make_management
166166 end
167167
168168 @tp_thread_begin = TracePoint . new ( :thread_begin ) do |tp |
@@ -1028,7 +1028,7 @@ def repl_open_setup
10281028 @tp_thread_begin . disable
10291029 @ui . activate self
10301030 if @ui . respond_to? ( :reader_thread ) && thc = get_thread_client ( @ui . reader_thread )
1031- thc . is_management
1031+ thc . make_management
10321032 end
10331033 @tp_thread_begin . enable
10341034 end
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ def management?
100100 @is_management
101101 end
102102
103- def is_management
103+ def make_management
104104 @is_management = true
105105 end
106106
You can’t perform that action at this time.
0 commit comments