Explorar el Código

Merge pull request #1025 from paullouisageneau/fix-mediahandler-virtual-destructor

Add virtual destructor to MediaHandler
Paul-Louis Ageneau hace 1 año
padre
commit
1ef1515988
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      include/rtc/mediahandler.hpp

+ 2 - 0
include/rtc/mediahandler.hpp

@@ -21,6 +21,8 @@ protected:
 	synchronized_callback<message_ptr> outgoingCallback;
 
 public:
+	virtual ~MediaHandler() = default;
+
 	// Called when there is traffic coming from the peer
 	virtual message_ptr incoming(message_ptr ptr) = 0;