From cead8c70f6d1095cf7798efc223ec364a34dd14e Mon Sep 17 00:00:00 2001 From: Carson Hoffman Date: Sat, 20 Jun 2020 22:51:20 -0400 Subject: [PATCH] Fix double commit on merge --- wsapi.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wsapi.go b/wsapi.go index 7b261f1..1cf1598 100644 --- a/wsapi.go +++ b/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 {