Explorar o código

Added missing return

Paul-Louis Ageneau %!s(int64=5) %!d(string=hai) anos
pai
achega
326ae27ad1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/peerconnection.cpp

+ 1 - 0
src/peerconnection.cpp

@@ -102,6 +102,7 @@ void PeerConnection::setLocalDescription() {
 
 	if (std::atomic_load(&mIceTransport)) {
 		PLOG_DEBUG << "Local description is already set, ignoring";
+		return;
 	}
 
 	// RFC 5763: The endpoint that is the offerer MUST use the setup attribute value of