Skip to content

Commit

Permalink
add delay before retry
Browse files Browse the repository at this point in the history
  • Loading branch information
cparish312 committed May 16, 2024
1 parent 67bf6a1 commit 23d208f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rem/remApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ func drawStatusBarIcon(rect: CGRect) -> Bool {
if screenCaptureRetries < 3 {
screenCaptureRetries += 1
Task {
try await Task.sleep(nanoseconds: 2_000_000_000)
await startScreenCapture()
}
} else {
Expand Down

0 comments on commit 23d208f

Please sign in to comment.