l3mpire / lemverse

The first-ever coworking metaverse
https://app.lemverse.com
GNU Affero General Public License v3.0
149 stars 43 forks source link

Fix logout errors #182

Closed xsyann closed 1 year ago

xsyann commented 1 year ago

During the logout there is a short lapse of time where Meteor.user() is null, if the logout is performed on character or media settings screen the reactive template helpers are called and throw errors.

Donorhan commented 1 year ago

I think that rather than correcting these files it would be better to close all interfaces before launching the logout. What do you think?

Because I have the impression that we will encounter this problem again sooner or later 😕

xsyann commented 1 year ago

I think that rather than correcting these files it would be better to close all interfaces before launching the logout. What do you think?

Because I have the impression that we will encounter this problem again sooner or later 😕

Yes you're right, it's clearly a better idea and less error prone for the future to fix the cause rather than the consequences ^^