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

core: Add allow_multiple_instances() to RelmApp #632

Merged
merged 1 commit into from
May 1, 2024

Conversation

falko17
Copy link
Contributor

@falko17 falko17 commented Apr 30, 2024

Summary

Usually, starting an already-running application again causes nothing to happen. However, with allow_multiple_instances(true), the NON_UNIQUE flag is set, which makes it possible to run multiple instances of the application to run at the same time.
This should fix #396.

Checklist

  • cargo fmt
  • cargo clippy
  • cargo test
  • updated CHANGES.md

relm4/Cargo.toml Outdated Show resolved Hide resolved
@falko17 falko17 force-pushed the allow-multiple-instances branch 2 times, most recently from 28ac71b to 55be079 Compare May 1, 2024 13:41
Usually, starting an already-running application again causes nothing to
happen. However, with `allow_multiple_instances(true)`, the `NON_UNIQUE`
flag is set, which makes it possible to run multiple instances of the
application to run at the same time.
Copy link
Member

@AaronErhardt AaronErhardt left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@AaronErhardt AaronErhardt merged commit e66d7a3 into Relm4:main May 1, 2024
7 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.

Relm4 should support multiple application instances
2 participants