Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit b626d73

Browse files
authored
fix rtcadapter handle leak (#680)
1 parent 2ce97da commit b626d73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/core/rtc_adapter/RtcAdapter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ class RtcAdapter {
8585
virtual void destoryAudioReceiver(AudioReceiveAdapter*) = 0;
8686
virtual AudioSendAdapter* createAudioSender(const Config&) = 0;
8787
virtual void destoryAudioSender(AudioSendAdapter*) = 0;
88+
virtual ~RtcAdapter(){}
8889
};
8990

9091
class RtcAdapterFactory {

0 commit comments

Comments
 (0)