Made impl::DataChannel destructor virtual

This commit is contained in:
Paul-Louis Ageneau
2021-04-13 22:28:52 +02:00
parent 62b435a4aa
commit 1cc7910bf1

View File

@ -36,7 +36,7 @@ struct PeerConnection;
struct DataChannel : Channel, std::enable_shared_from_this<DataChannel> {
DataChannel(weak_ptr<PeerConnection> pc, uint16_t stream, string label, string protocol,
Reliability reliability);
~DataChannel();
virtual ~DataChannel();
void close();
void remoteClose();