File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,10 @@ def ensure_runnables_served(self, runnables):
145
145
with serve_daemon (self ._ctx , runnables , ** self ._serve_kwds ()) as config :
146
146
if "install_args_list" in self ._serve_kwds ():
147
147
self .shed_install (config )
148
- yield config
148
+ try :
149
+ yield config
150
+ finally :
151
+ config .kill ()
149
152
150
153
def shed_install (self , config ):
151
154
kwds = self ._serve_kwds ()
@@ -208,7 +211,10 @@ def ensure_runnables_served(self, runnables):
208
211
with serve_daemon (self ._ctx , runnables , ** self ._serve_kwds ()) as config :
209
212
if "install_args_list" in self ._serve_kwds ():
210
213
self .shed_install (config )
211
- yield config
214
+ try :
215
+ yield config
216
+ finally :
217
+ config .kill ()
212
218
213
219
214
220
class ExternalGalaxyEngine (GalaxyEngine ):
You can’t perform that action at this time.
0 commit comments