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 @@ -149,10 +149,10 @@ def activate on_fork: false
149149 # Thread management
150150 setup_threads
151151 thc = get_thread_client Thread . current
152- thc . is_management
152+ thc . mark_as_management
153153
154154 if @ui . respond_to? ( :reader_thread ) && thc = get_thread_client ( @ui . reader_thread )
155- thc . is_management
155+ thc . mark_as_management
156156 end
157157
158158 @tp_thread_begin = TracePoint . new ( :thread_begin ) do |tp |
@@ -1018,7 +1018,7 @@ def repl_open_setup
10181018 @tp_thread_begin . disable
10191019 @ui . activate self
10201020 if @ui . respond_to? ( :reader_thread ) && thc = get_thread_client ( @ui . reader_thread )
1021- thc . is_management
1021+ thc . mark_as_management
10221022 end
10231023 @tp_thread_begin . enable
10241024 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 mark_as_management
104104 @is_management = true
105105 end
106106
You can’t perform that action at this time.
0 commit comments