Use tomb v2, update deps, fix hang on stale connection
- Use tomb v2 to properly spawn and reap goroutines (hopefully) - Update deps - Fix hang on stale connection due to improper goroutine management
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"os"
|
||||
|
||||
"github.com/eleksir/go-xmpp"
|
||||
"gopkg.in/tomb.v1"
|
||||
"gopkg.in/tomb.v2"
|
||||
)
|
||||
|
||||
// MyConfig прототип структурки с конфигом.
|
||||
|
||||
Reference in New Issue
Block a user