Skip to content

Commit

Permalink
Merge pull request #1025 from paullouisageneau/fix-mediahandler-virtu…
Browse files Browse the repository at this point in the history
…al-destructor

Add virtual destructor to MediaHandler
  • Loading branch information
paullouisageneau authored Nov 1, 2023
2 parents 2cea835 + 0b08346 commit 1ef1515
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/rtc/mediahandler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class RTC_CPP_EXPORT MediaHandler {
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;

Expand Down

0 comments on commit 1ef1515

Please sign in to comment.