Browse Source

Fix double commit on merge

Carson Hoffman 4 years ago
parent
commit
cead8c70f6
1 changed files with 0 additions and 4 deletions
  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.
 // Close closes a websocket and stops all listening/heartbeat goroutines.
 // TODO: Add support for Voice WS/UDP
 // TODO: Add support for Voice WS/UDP
 func (s *Session) Close() error {
 func (s *Session) Close() error {