diff options
-rw-r--r-- | gatchat/gatio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gatchat/gatio.c b/gatchat/gatio.c index 61b0260a..a9faba50 100644 --- a/gatchat/gatio.c +++ b/gatchat/gatio.c @@ -315,6 +315,9 @@ static gboolean io_shutdown(GAtIO *io) if (io->read_watch > 0) g_source_remove(io->read_watch); + if (io->write_watch > 0) + g_source_remove(io->write_watch); + return TRUE; } |