aboutsummaryrefslogtreecommitdiff
path: root/gomuks.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-03-15 21:28:21 +0200
committerTulir Asokan <tulir@maunium.net>2018-03-15 21:28:21 +0200
commitf99cede4324852310a0e0dfbcf01ffb61beb2c42 (patch)
treecfa9d3845e6493923102f4dac04bab5301833706 /gomuks.go
parent2bf057d27cc76fc22f3fee51f17269d23bb4b4e4 (diff)
HAAAAAAAAANDS
Diffstat (limited to 'gomuks.go')
-rw-r--r--gomuks.go3
1 files changed, 3 insertions, 0 deletions
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()
}
}