Merge pull request #406 from paullouisageneau/v0.12

Make impl::DataChannel destructor virtual
This commit is contained in:
Paul-Louis Ageneau
2021-04-13 23:02:06 +02:00
committed by GitHub

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();