diff options
Diffstat (limited to 'gatchat/gatmux.c')
-rw-r--r-- | gatchat/gatmux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gatchat/gatmux.c b/gatchat/gatmux.c index 909eca62..d492edb5 100644 --- a/gatchat/gatmux.c +++ b/gatchat/gatmux.c @@ -684,6 +684,9 @@ gboolean g_at_mux_shutdown(GAtMux *mux) if (mux->read_watch > 0) g_source_remove(mux->read_watch); + if (mux->write_watch > 0) + g_source_remove(mux->write_watch); + for (i = 0; i < MAX_CHANNELS; i++) { if (mux->dlcs[i] == NULL) continue; |