We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b381cc commit 18eb343Copy full SHA for 18eb343
monitor.go
@@ -252,8 +252,9 @@ func (d *Server) close(messageErr string) {
252
d.closeFuncMutex.Lock()
253
defer d.closeFuncMutex.Unlock()
254
if d.clientConn == nil {
255
- // TODO
256
- // d.outputChan <- messageError("close", "port already closed")
+ if messageErr == "" {
+ d.outputChan <- messageError("close", "port already closed")
257
+ }
258
return
259
}
260
connErr := d.clientConn.Close()
0 commit comments