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 panics for blocks without update intervals #582

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

ammgws
Copy link
Collaborator

@ammgws ammgws commented Mar 26, 2020

Same as #535, but for the remaining blocks with the same issue.

Solves #581

@ammgws ammgws linked an issue Apr 21, 2020 that may be closed by this pull request
@ammgws ammgws merged commit 32cb201 into greshake:master Apr 21, 2020
@ammgws ammgws deleted the fixpanics branch April 21, 2020 14:24
@ammgws ammgws restored the fixpanics branch April 21, 2020 14:32
@ammgws ammgws deleted the fixpanics branch April 21, 2020 14:32
ammgws added a commit to ammgws/i3status-rust that referenced this pull request May 15, 2020
This undoes the bandaid fixes that were implemented to deal with the panics that
occur when only using blocks that have no update interval (ones that use DBus etc).

Instead of kludging a dummy update interval to those blocks, the scheduler
logic is changed so that no updates are scheduled if the block has no
update_interval value set.
ammgws added a commit to ammgws/i3status-rust that referenced this pull request May 15, 2020
This undoes the bandaid fixes that were implemented to deal with the panics that
occur when only using blocks that have no update interval (ones that use DBus etc).

Instead of kludging a dummy update interval to those blocks, the scheduler
logic is changed so that no updates are scheduled if the block has no
update_interval value set.
ammgws added a commit that referenced this pull request May 16, 2020
This undoes the bandaid fixes that were implemented to deal with the panics that
occur when only using blocks that have no update interval (ones that use DBus etc).

Instead of kludging a dummy update interval to those blocks, the scheduler
logic is changed so that no updates are scheduled if the block has no
update_interval value set.
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.

Panick if sound is the only module
1 participant