We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eaac59b + 2e83582 commit 8717376Copy full SHA for 8717376
client.go
@@ -471,8 +471,10 @@ func (c *client) Disconnect(quiesce uint) {
471
DEBUG.Println(CLI, "calling WaitTimeout")
472
dt.WaitTimeout(time.Duration(quiesce) * time.Millisecond)
473
DEBUG.Println(CLI, "WaitTimeout done")
474
- case <-c.commsStopped:
475
- WARN.Println("Disconnect packet could not be sent because comms stopped")
+ // Let's comment this chunk of code until we are able to safely read this variable
+ // without data races.
476
+ // case <-c.commsStopped:
477
+ // WARN.Println("Disconnect packet could not be sent because comms stopped")
478
case <-time.After(time.Duration(quiesce) * time.Millisecond):
479
WARN.Println("Disconnect packet not sent due to timeout")
480
}
0 commit comments