Forráskód Böngészése

Added missing return

Paul-Louis Ageneau 5 éve
szülő
commit
326ae27ad1
1 módosított fájl, 1 hozzáadás és 0 törlés
  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