feat: reset recording state

This commit is contained in:
karishmas6
2024-10-12 15:53:13 +05:30
parent 08139606cc
commit 30b53aeaba

View File

@@ -189,6 +189,11 @@ async function readyForRunHandler(browserId: string, id: string) {
}
}
function resetRecordingState(browserId: string, id: string) {
browserId = '';
id = '';
}
async function executeRun(id: string) {
try {
const run = await Run.findOne({ where: { runId: id } });