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

Ensure we preserve the state of user/drives across restarts #14

Merged
merged 2 commits into from
Jun 22, 2024
Merged

Ensure we preserve the state of user/drives across restarts #14

merged 2 commits into from
Jun 22, 2024

Conversation

skx
Copy link
Contributor

@skx skx commented Jun 20, 2024

This will close #13, by preserving the current user-number, and selected drive across restarts.

This is only visible when using non-default drives, but it really does help avoid needing to reset drives when running short-lived binaries.

(User-numbers are a waste of time, and nobody uses them, but for completeness I've updated to preserve those too.)

@ivanizag
Copy link
Owner

Looks good. I will have to review a bit more if I really need to have drive and user on BdosState or not.

Thanks!

@ivanizag ivanizag merged commit fa15986 into ivanizag:master Jun 22, 2024
@skx skx deleted the fix/state branch June 22, 2024 16:39
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.

Failure to persist user/drive state
2 participants