Pings are also wrapped with own sync.Mutex.

This commit is contained in:
Stanislav N. aka pztrn
2017-10-03 02:19:13 +05:00
parent e39cceace6
commit 5a0a900995
2 changed files with 5 additions and 2 deletions

View File

@@ -43,6 +43,7 @@ type Connection struct {
QuitMessage string
lastMessage time.Time
lastMessageMutex sync.Mutex
VerboseCallbackHandler bool
Log *log.Logger