mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Fix rooting issue
This commit is contained in:
parent
7eb44f81f2
commit
6ebb73d9a4
2 changed files with 10 additions and 5 deletions
|
@ -85,8 +85,6 @@ impl RTCDataChannel {
|
|||
binary_type: DomRefCell::new(DOMString::from("blob")),
|
||||
};
|
||||
|
||||
peer_connection.register_data_channel(servo_media_id, &channel);
|
||||
|
||||
channel
|
||||
}
|
||||
|
||||
|
@ -107,6 +105,8 @@ impl RTCDataChannel {
|
|||
global,
|
||||
);
|
||||
|
||||
peer_connection.register_data_channel(rtc_data_channel.servo_media_id, &*rtc_data_channel);
|
||||
|
||||
rtc_data_channel
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue