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 4ad68fb commit a3ee736Copy full SHA for a3ee736
imapclient/client.go
@@ -484,17 +484,6 @@ func (c *Client) registerContReq(cmd command) *imapwire.ContinuationRequest {
484
return contReq
485
}
486
487
-func (c *Client) unregisterContReq(contReq *imapwire.ContinuationRequest) {
488
- c.mutex.Lock()
489
- for i := range c.contReqs {
490
- if c.contReqs[i].ContinuationRequest == contReq {
491
- c.contReqs = append(c.contReqs[:i], c.contReqs[i+1:]...)
492
- break
493
- }
494
495
- c.mutex.Unlock()
496
-}
497
-
498
// read continuously reads data coming from the server.
499
//
500
// All the data is decoded in the read goroutine, then dispatched via channels
0 commit comments