Skip to content

Commit

Permalink
Runtime Manager, delete all_proc_nodes, not referenced from anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
kondoh committed Aug 8, 2016
1 parent 0a4324c commit a4e05ab
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ class MyFrame(rtmgr.MyFrame):
def __init__(self, *args, **kwds):
rtmgr.MyFrame.__init__(self, *args, **kwds)
self.all_procs = []
self.all_procs_nodes = {}
self.all_cmd_dics = []
self.load_dic = self.load_yaml('param.yaml', def_ret={})
self.config_dic = {}
Expand Down Expand Up @@ -2104,7 +2103,6 @@ def launch_kill(self, v, cmd, proc, add_args=None, sigint=None, obj=None, kill_c

proc = psutil.Popen(args, stdin=subprocess.PIPE, stdout=out, stderr=err)
self.all_procs.append(proc)
self.all_procs_nodes[ proc ] = self.nodes_dic.get(obj, [])

if f == self.log_th:
thinf = th_start(f, {'file':proc.stdout, 'que':self.log_que_stdout})
Expand All @@ -2126,7 +2124,6 @@ def launch_kill(self, v, cmd, proc, add_args=None, sigint=None, obj=None, kill_c
proc.wait()
if proc in self.all_procs:
self.all_procs.remove(proc)
self.all_procs_nodes.pop(proc, None)
proc = None

return proc
Expand Down

0 comments on commit a4e05ab

Please sign in to comment.