projects
/
deliverable
/
lttng-ivc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use subprocess_terminate on Runtime close
[deliverable/lttng-ivc.git]
/
lttng_ivc
/
utils
/
runtime.py
diff --git
a/lttng_ivc/utils/runtime.py
b/lttng_ivc/utils/runtime.py
index 264addc67f8667263071605658253faddaaad571..4d367d3c170a352df9042589d482220e4271a932 100644
(file)
--- a/
lttng_ivc/utils/runtime.py
+++ b/
lttng_ivc/utils/runtime.py
@@
-267,13
+267,7
@@
class Runtime(object):
def close(self):
for key, subp in self.__subprocess.items():
def close(self):
for key, subp in self.__subprocess.items():
- subp.terminate()
- for key, subp in self.__subprocess.items():
- # TODO move timeout to settings
- subp.wait(timeout=60)
- for key, (stdout, stderr) in self.__stdout_stderr.items():
- stdout.close()
- stderr.close()
+ self.subprocess_terminate(key, check_return=False)
# Always try to remove test module but do not perform check on return
# value.
# Always try to remove test module but do not perform check on return
# value.
This page took
0.02329 seconds
and
5
git commands to generate.