summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-12-22 01:14:07 +0100
committerGitHub <noreply@github.com>2023-12-22 01:14:07 +0100
commitec0ededcdef7512517aa7aaa9bd49652cece4770 (patch)
treee5ddbcd22299cba64d6038491f3a40b2b6a1f6cd
parent724910c73483cc85016bfaa37ffd0b7c9ad2f8dd (diff)
parent308db191200c891296a77cee038b77c41a1d1c6d (diff)
downloadfork-godot-webrtc-native-ec0ededcdef7512517aa7aaa9bd49652cece4770.tar.gz
fork-godot-webrtc-native-ec0ededcdef7512517aa7aaa9bd49652cece4770.tar.bz2
fork-godot-webrtc-native-ec0ededcdef7512517aa7aaa9bd49652cece4770.zip
Merge pull request #132 from Faless/fix/force_cleanup_on_unload
Call rtc::Cleanup when unloading the library
-rw-r--r--src/WebRTCLibPeerConnection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WebRTCLibPeerConnection.cpp b/src/WebRTCLibPeerConnection.cpp
index effc1d7..88bd29a 100644
--- a/src/WebRTCLibPeerConnection.cpp
+++ b/src/WebRTCLibPeerConnection.cpp
@@ -48,6 +48,7 @@ void WebRTCLibPeerConnection::initialize_signaling() {
}
void WebRTCLibPeerConnection::deinitialize_signaling() {
+ rtc::Cleanup();
}
Error WebRTCLibPeerConnection::_parse_ice_server(rtc::Configuration &r_config, Dictionary p_server) {