fix npd
This commit is contained in:
parent
ae6c14b16f
commit
eb8e5133ab
|
@ -31,8 +31,10 @@ type WSChannel struct {
|
|||
|
||||
// Close closed the channel.
|
||||
func (c *WSChannel) Close() {
|
||||
if nil != c.Conn {
|
||||
c.Conn.Close()
|
||||
}
|
||||
}
|
||||
|
||||
// Refresh refreshes the channel by updating its use time.
|
||||
func (c *WSChannel) Refresh() {
|
||||
|
|
Loading…
Reference in New Issue