Commit 8485e083 authored by Luke Macken's avatar Luke Macken

Clean up our callgraphs

parent f4ca5008
...@@ -771,6 +771,9 @@ class PyrasiteWindow(Gtk.Window): ...@@ -771,6 +771,9 @@ class PyrasiteWindow(Gtk.Window):
for process in self.processes.values(): for process in self.processes.values():
self.update_progress(None) self.update_progress(None)
process.close() process.close()
callgraph = '/tmp/%d-callgraph.png' % process.pid
if os.path.exists(callgraph):
os.unlink(callgraph)
class InputStream(object): class InputStream(object):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment