mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1553789: Don't connect unless our transport is the one that is ready. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D37898 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
016bf55af3
commit
0ef1037a0d
@ -699,7 +699,7 @@ void DataChannelConnection::SetSignals(const std::string& aTransportId) {
|
|||||||
|
|
||||||
void DataChannelConnection::TransportStateChange(
|
void DataChannelConnection::TransportStateChange(
|
||||||
const std::string& aTransportId, TransportLayer::State aState) {
|
const std::string& aTransportId, TransportLayer::State aState) {
|
||||||
if (aState == TransportLayer::TS_OPEN) {
|
if (aState == TransportLayer::TS_OPEN && aTransportId == mTransportId) {
|
||||||
CompleteConnect();
|
CompleteConnect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user