Fix another thing
This commit is contained in:
parent
56c3151069
commit
32f4730a9c
|
@ -197,6 +197,9 @@ func handler(w http.ResponseWriter, r *http.Request) {
|
|||
case <-exitChan2:
|
||||
case <-ms.ClosedChan:
|
||||
}
|
||||
// Wait a bit to send any pending messages before closing the
|
||||
// connection.
|
||||
time.Sleep(1 * time.Second)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue