closeRecorder method
Implementation
@override
Future<void> closeRecorder(
FlutterSoundRecorderCallback callback,
) async {
//if (audioCtx != null) {
//audioCtx!.close();
//audioCtx = null;
//}
if (mediaRecorderWeb != null) {
mediaRecorderWeb!.stopRecorder(callback);
mediaRecorderWeb = null;
}
int slotno = findSession(callback);
_slots[slotno]!.releaseFlautoRecorder();
_slots[slotno] = null;
}