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

Guides about state management should be elaborated #333

Closed
4 tasks
temeddix opened this issue May 23, 2024 · 0 comments · Fixed by #339
Closed
4 tasks

Guides about state management should be elaborated #333

temeddix opened this issue May 23, 2024 · 0 comments · Fixed by #339

Comments

@temeddix
Copy link
Member

temeddix commented May 23, 2024

Report

Static variables are not always appropriate and their destructors are not guaranteed to be called on shutdown.

  • When to use and when not to use static
  • About the Drop trait and destructors
  • LazyLock
  • Function parameters

Steps to Reproduce

Please describe the exact steps to reproduce the error.

System Information

Please provide the output from the command below, using markdown codeblock syntax.

rustc --version
flutter doctor
@temeddix temeddix changed the title Guides about static keywords should be removed from the docs Guides about static state should be elaborated May 23, 2024
@temeddix temeddix changed the title Guides about static state should be elaborated Guides about state management should be elaborated May 23, 2024
@temeddix temeddix mentioned this issue May 30, 2024
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 a pull request may close this issue.

1 participant