Sleep again for 100ms for debugging purposes.

v0.8
Martin Dosch 4 months ago
parent 459e40e9a4
commit ad1aeba749
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

@ -33,6 +33,7 @@ type configuration struct {
func closeAndExit(client *xmpp.Client, cancel context.CancelFunc, err error) {
cancel()
time.Sleep(100 * time.Millisecond)
client.Close()
if err != nil {
log.Fatal(err)

Loading…
Cancel
Save