diff --git a/src/interfaces/rtc_peer_connection/peer_connection_factory.cc b/src/interfaces/rtc_peer_connection/peer_connection_factory.cc index dd893f30a..a47d94597 100644 --- a/src/interfaces/rtc_peer_connection/peer_connection_factory.cc +++ b/src/interfaces/rtc_peer_connection/peer_connection_factory.cc @@ -9,7 +9,6 @@ #include -#include #include #include #include @@ -71,6 +70,7 @@ PeerConnectionFactory::PeerConnectionFactory(const Napi::CallbackInfo &info) (void)result; _taskQueueFactory = webrtc::CreateDefaultTaskQueueFactory(); + assert(_taskQueueFactory != nullptr); _audioDeviceModule = _workerThread->Invoke>(