feat: reset recording state

This commit is contained in:
karishmas6
2024-10-12 22:18:29 +05:30
parent 1f36dec81a
commit 363a396c86

View File

@@ -256,6 +256,8 @@ async function readyForRunHandler(browserId: string, id: string) {
return null;
}
resetRecordingState(browserId, id);
} catch (error: any) {
logger.error(`Error during readyForRunHandler: ${error.message}`);
await destroyRemoteBrowser(browserId);