mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 23:25:33 +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> {
|
struct DataChannel : Channel, std::enable_shared_from_this<DataChannel> {
|
||||||
DataChannel(weak_ptr<PeerConnection> pc, uint16_t stream, string label, string protocol,
|
DataChannel(weak_ptr<PeerConnection> pc, uint16_t stream, string label, string protocol,
|
||||||
Reliability reliability);
|
Reliability reliability);
|
||||||
~DataChannel();
|
virtual ~DataChannel();
|
||||||
|
|
||||||
void close();
|
void close();
|
||||||
void remoteClose();
|
void remoteClose();
|
||||||
|
Reference in New Issue
Block a user