Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Moc's session being remotely terminated #98

Closed
ggoraa opened this issue Jul 12, 2022 · 1 comment · Fixed by #102
Closed

Crash on Moc's session being remotely terminated #98

ggoraa opened this issue Jul 12, 2022 · 1 comment · Fixed by #102
Assignees
Labels
bug Something isn't working internal Internal things OS: all Related to all operating systems (macOS and iPadOS)

Comments

@ggoraa
Copy link
Collaborator

ggoraa commented Jul 12, 2022

When Moc is running, and its session was terminated by another device, it just outright crashes

Reason

The reason is the handling of AuthorizationState.closed state and the reinstantiation of the TDLib instance, which, as we see, fails miserably.

@ggoraa ggoraa added bug Something isn't working OS: all Related to all operating systems (macOS and iPadOS) internal Internal things labels Jul 12, 2022
@ggoraa ggoraa added this to the Stage 2: Media empire milestone Jul 12, 2022
@ggoraa ggoraa self-assigned this Jul 12, 2022
@ggoraa
Copy link
Collaborator Author

ggoraa commented Jul 12, 2022

After a bit of research, it turns out that it actually crashes when starting it up after the session was ended when Moc was closed

@ggoraa ggoraa linked a pull request Jul 14, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working internal Internal things OS: all Related to all operating systems (macOS and iPadOS)
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant