Browse Source

Do not close on impl destuction as it is done from rtc::WebSocket

Paul-Louis Ageneau 3 years ago
parent
commit
c69df2c0c9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/impl/websocket.cpp

+ 0 - 1
src/impl/websocket.cpp

@@ -48,7 +48,6 @@ WebSocket::WebSocket(optional<Configuration> optConfig, certificate_ptr certific
 
 WebSocket::~WebSocket() {
 	PLOG_VERBOSE << "Destroying WebSocket";
-	remoteClose();
 }
 
 void WebSocket::open(const string &url) {