feat: reset recording state
This commit is contained in:
@@ -256,6 +256,8 @@ async function readyForRunHandler(browserId: string, id: string) {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resetRecordingState(browserId, id);
|
||||||
|
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
logger.error(`Error during readyForRunHandler: ${error.message}`);
|
logger.error(`Error during readyForRunHandler: ${error.message}`);
|
||||||
await destroyRemoteBrowser(browserId);
|
await destroyRemoteBrowser(browserId);
|
||||||
|
|||||||
Reference in New Issue
Block a user