File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -165,8 +165,6 @@ def run(self):
165165 logger .addHandler (log_handler )
166166 logger .info ('Device initialized; starting daemon.' )
167167
168- # Run the Pyro daemon in a separate thread so that we can do
169- # clean shutdown under Windows.
170168 pyro_daemon .register (self ._device , type (self ._device ).__name__ )
171169 if isinstance (self ._device , microscope .devices .ControllerDevice ):
172170 # AUTOPROXY should be enabled by default. If we find it
@@ -187,9 +185,10 @@ def run(self):
187185 sub_device ._logger .addHandler (stderr_handler )
188186 sub_device ._logger .addHandler (log_handler )
189187 sub_device ._logger .addFilter (Filter ())
190- # This requires
191188 pyro_daemon .register (sub_device )
192189
190+ # Run the Pyro daemon in a separate thread so that we can do
191+ # clean shutdown under Windows.
193192 pyro_thread = Thread (target = pyro_daemon .requestLoop )
194193 pyro_thread .daemon = True
195194 pyro_thread .start ()
You can’t perform that action at this time.
0 commit comments