Closed mjgaylord closed 7 years ago
Duplicate calls that happen in quick succession of func logout(:) result in a crash because self.user()! is force-unwrapped. Checking for existence of the user object seems to prevent the crash.
func logout(:)
self.user()!
I agree. Merged.
Duplicate calls that happen in quick succession of
func logout(:)
result in a crash becauseself.user()!
is force-unwrapped. Checking for existence of the user object seems to prevent the crash.