diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-03 11:07:13 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-06 17:36:30 +0100 |
commit | 7e84471abbfbb2f778813b08effe3d72e547721b (patch) | |
tree | 7b2210ba29824dfe0a8c66dffc3c17a6a6ba5e17 /python/examples/create_disk.py | |
parent | 65d1f27ff2362be16433e603ed8a1e690249d278 (diff) | |
download | libguestfs-7e84471abbfbb2f778813b08effe3d72e547721b.tar.gz libguestfs-7e84471abbfbb2f778813b08effe3d72e547721b.tar.xz libguestfs-7e84471abbfbb2f778813b08effe3d72e547721b.zip |
close: Rearrange the order in which the handle is closed and freed.
The order is now:
- remove the handle from the list of handles
- send close trace message
- sync and shutdown qemu
- run user close callback
- free temporary directory
- free memory
This commit ought to be no functional change.
(cherry picked from commit fc3c6fff4b0a6ffeb75aa78b1d73241a14a03cd1)
Diffstat (limited to 'python/examples/create_disk.py')
0 files changed, 0 insertions, 0 deletions