aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/qemud/qemud.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2009-05-26 10:11:16 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-05-26 10:11:16 -0700
commit736b620d0bad9414cc964905a9c3db701b0aced0 (patch)
treefd0a8f6ee1408c6336dd289c575d295034d455b9 /emulator/qemud/qemud.c
parent5061b09920af37f1b4ff904f82853d810e506c7c (diff)
parent303659072cc188102a8261f5c799980d477fd479 (diff)
downloadsdk-736b620d0bad9414cc964905a9c3db701b0aced0.zip
sdk-736b620d0bad9414cc964905a9c3db701b0aced0.tar.gz
sdk-736b620d0bad9414cc964905a9c3db701b0aced0.tar.bz2
am af45b39d: This adds a new helper program (qemu-props) to support the emulated system.
Merge commit 'af45b39d887ad4ec4a806d352009cdc28238f21f' * commit 'af45b39d887ad4ec4a806d352009cdc28238f21f': This adds a new helper program (qemu-props) to support the emulated system.
Diffstat (limited to 'emulator/qemud/qemud.c')
-rw-r--r--emulator/qemud/qemud.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/emulator/qemud/qemud.c b/emulator/qemud/qemud.c
index c578145..5edf8a6 100644
--- a/emulator/qemud/qemud.c
+++ b/emulator/qemud/qemud.c
@@ -857,8 +857,10 @@ fdhandler_shutdown( FDHandler* f )
fdhandler_remove(f);
fdhandler_prepend(f, &f->list->closing);
- /* notify the receiver that we're closing */
- receiver_close(f->receiver);
+ /* prevent later fdhandler_close() to
+ * call the receiver's close.
+ */
+ f->receiver->close = NULL;
return;
}