From f99cede4324852310a0e0dfbcf01ffb61beb2c42 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 15 Mar 2018 21:28:21 +0200 Subject: HAAAAAAAAANDS --- gomuks.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gomuks.go') diff --git a/gomuks.go b/gomuks.go index 3e2fb85..acb64c9 100644 --- a/gomuks.go +++ b/gomuks.go @@ -73,9 +73,12 @@ func NewGomuks(debug bool) *gomuks { } func (gmx *gomuks) Stop() { + gmx.debug.Print("Disconnecting from Matrix...") gmx.matrix.Stop() + gmx.debug.Print("Cleaning up UI...") gmx.app.Stop() if gmx.config.Session != nil { + gmx.debug.Print("Saving session...") gmx.config.Session.Save() } } -- cgit v1.2.3