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):
145145        with  serve_daemon (self ._ctx , runnables , ** self ._serve_kwds ()) as  config :
146146            if  "install_args_list"  in  self ._serve_kwds ():
147147                self .shed_install (config )
148-             yield  config 
148+             try :
149+                 yield  config 
150+             finally :
151+                 config .kill ()
149152
150153    def  shed_install (self , config ):
151154        kwds  =  self ._serve_kwds ()
@@ -208,7 +211,10 @@ def ensure_runnables_served(self, runnables):
208211        with  serve_daemon (self ._ctx , runnables , ** self ._serve_kwds ()) as  config :
209212            if  "install_args_list"  in  self ._serve_kwds ():
210213                self .shed_install (config )
211-             yield  config 
214+             try :
215+                 yield  config 
216+             finally :
217+                 config .kill ()
212218
213219
214220class  ExternalGalaxyEngine (GalaxyEngine ):
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments