Skip to content

Commit

Permalink
recordScreen导致钩子函数异常
Browse files Browse the repository at this point in the history
  • Loading branch information
wJiaaa committed May 31, 2024
1 parent e68af3d commit 7be309f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/lib/recordscreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function initRecordScreen() {

if (newValue.recordScreen) recordScreen = new RecordScreen()
else {
recordScreen!.close()
recordScreen?.close()
recordScreen = undefined
}
})
Expand Down

0 comments on commit 7be309f

Please sign in to comment.