qemu-dm: Nicely terminate the device model script, to let it properly

clean resources.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
This commit is contained in:
Keir Fraser committed 2008-01-18 13:35:05 +00:00
1 parent be33e2333a
commit 52bbc0f440
2 files changed
+9 -3

No files matched your search

+1 -1
View File
@@ -321,7 +321,7 @@ class ImageHandler:
return
if self.pid:
try:
os.kill(self.pid, signal.SIGKILL)
os.kill(self.pid, signal.SIGTERM)
except OSError, exn:
log.exception(exn)
try:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.