Added cleanup for handleRecordingData

This commit is contained in:
Kimberlee Johnson 2021-11-30 16:49:52 -08:00
parent e03dcdaaef
commit 4e17e71fa9
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ export const RecordingProvider = ({ children }) => {
return () => {
callObject.off('app-message', handleAppMessage);
callObject.off('recording-data', handleRecordingData);
};
}, [callObject, enableRecording]);