Added cleanup for handleRecordingData
This commit is contained in:
parent
e03dcdaaef
commit
4e17e71fa9
|
|
@ -111,6 +111,7 @@ export const RecordingProvider = ({ children }) => {
|
|||
|
||||
return () => {
|
||||
callObject.off('app-message', handleAppMessage);
|
||||
callObject.off('recording-data', handleRecordingData);
|
||||
};
|
||||
}, [callObject, enableRecording]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue