Commit: 2170661260e8ca04217a4b01b88183866747429b
Parent: 8d65d9c410b265c6b9d71d9a098224032f6c4b0c
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-01-09 14:13:41
Tree: 4dfffae65dadcbc089d6a53c1fb099f4642d988d

shared: Fix clearing of IO handlers If NULL callback is passed to io_set_read/write_handler don't add watch for it and just clear struct io memebers. This was resulting in write/read_callback being call in loop due to fd being never written or read.

Diffstat

M src/shared/io-glib.c | 16 ++++++++++++++- -

1 files changed, 14 insertions(+), 2 deletions(-)

View Full Diff | Patch