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

Fix synchronizing #19

Merged
merged 1 commit into from
Feb 14, 2025
Merged

Fix synchronizing #19

merged 1 commit into from
Feb 14, 2025

Conversation

Jeidnx
Copy link
Contributor

@Jeidnx Jeidnx commented Feb 13, 2025

Hello :)
Unfortunately with the latest release the software has stopped working (for me?). When deserializing an AccountConfig from inside a tokio runtime, the app panics because you can't call block_on inside an async execution thread. This would be the case for example when running edu-sync-cli sync.

I have made the whole path deserializing synchronous. I don't think it makes a ton of sense to have this asynchronous anyways.

@mkroening mkroening self-assigned this Feb 14, 2025
Copy link
Owner

@mkroening mkroening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the issue, and thanks for the fix! :)

I will publish a release once this is merged.

@mkroening mkroening merged commit 13449f1 into mkroening:main Feb 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants