summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gatchat/gatppp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index 4f8d8f0c..48af6474 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -448,6 +448,8 @@ void ppp_generate_event(GAtPPP *ppp, enum ppp_event event)
static void read_watcher_destroy_notify(GAtPPP *ppp)
{
ppp->read_watch = 0;
+ pppcp_signal_down(ppp->lcp);
+ pppcp_signal_close(ppp->lcp);
}
void ppp_set_auth(GAtPPP *ppp, const guint8* auth_data)