mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 15:15:28 +00:00
Made impl::DataChannel destructor virtual
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user