Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
frontegg-david committed Sep 5, 2024
1 parent 2d75ecf commit d0c402b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/FronteggSwift/FronteggAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ public class FronteggAuth: ObservableObject {
self.refreshingToken=true
}
defer {

// cleanup scope
DispatchQueue.main.sync {
self.refreshingToken = false
}
Expand Down

0 comments on commit d0c402b

Please sign in to comment.