Browse Source

Fix double commit on merge

Carson Hoffman 4 năm trước cách đây
mục cha
commit
cead8c70f6
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      wsapi.go

+ 0 - 4
wsapi.go

@@ -843,10 +843,6 @@ func (s *Session) reconnect() {
 	}
 }
 
-func (s *Session) Close() error {
-	return s.CloseWithCode(websocket.CloseNormalClosure)
-}
-
 // Close closes a websocket and stops all listening/heartbeat goroutines.
 // TODO: Add support for Voice WS/UDP
 func (s *Session) Close() error {