Skip to content

Commit

Permalink
Merge pull request #973 from embrace-io/remove-unnecessary-warning
Browse files Browse the repository at this point in the history
Remove unnecessary warning
  • Loading branch information
fractalwrench committed Jun 20, 2024
2 parents a866f15 + 5d73c13 commit 7a41765
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ internal class EmbraceProcessStateService(
*/
override fun onForeground() {
logger.logDebug("AppState: App entered foreground.")

if (!isInBackground) {
val msg = "Unbalanced call to onForeground(). This will contribute to session loss."
logger.logError(msg, InternalError(msg))
}
isInBackground = false
val timestamp = clock.now()

Expand Down

0 comments on commit 7a41765

Please sign in to comment.