fix(electron): cannot restart recording the same app again (#11498)

fix AF-2455
This commit is contained in:
pengx17
2025-04-09 02:37:50 +00:00
parent c57f41805f
commit f0aafda509
@@ -141,7 +141,8 @@ export class RecordingStateMachine {
if ( if (
appGroup && appGroup &&
currentStatus?.appGroup?.processGroupId === appGroup.processGroupId currentStatus?.appGroup?.processGroupId === appGroup.processGroupId &&
currentStatus.status === 'new'
) { ) {
return { return {
...currentStatus, ...currentStatus,