mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 09:00:18 -06:00
fix: stop timers on logout (#5498)
This commit is contained in:
@@ -133,7 +133,10 @@ final class UserManager: UserManagerSyncable {
|
||||
backingLastDisplayedAt = nil
|
||||
backingExpiresAt = nil
|
||||
Formbricks.language = "default"
|
||||
updateQueue?.reset()
|
||||
|
||||
syncTimer?.invalidate()
|
||||
syncTimer = nil
|
||||
updateQueue?.cleanup()
|
||||
|
||||
if isUserIdDefined {
|
||||
Formbricks.logger?.debug("Successfully logged out user and reset the user state.")
|
||||
|
||||
Reference in New Issue
Block a user