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

Add support to disable concurrency check #124

Merged

Conversation

jkonecny12
Copy link
Member

Backport of #111 .

Right now it is possible to disable concurrency check for InputHandler. However,
this class is created on demand in the InputManager used by the UIScreen which
means that a users are not able to disable concurrency_check without
re-implementation of the InputManager and InputHandler which is really cumbersome.

To solve this I'm adding a new property to InputManager and enable obtaining the
InputManager instance from the UIScreen.

The concurrency check shouldn't be disabled if you don't have a strong reason to
do it. It was implemented because without the check it's really hard to debug
when multiple screens are asking for the input at once. The main reason to disable it
is for error reporting after the application has crashed.

Resolves: rhbz#2134889
(cherry picked from commit e3ecece)
This small change is done to simplify testing of the code.

Related: rhbz#2134889

(cherry picked from commit f0d8966)
Related: rhbz#2134889

(cherry picked from commit 741ae90)
@jkonecny12 jkonecny12 force-pushed the 1.8-add-disable-concurrency-check branch from 59b4d9e to c888613 Compare October 27, 2022 12:58
@jkonecny12
Copy link
Member Author

Rebased

@jkonecny12 jkonecny12 merged commit 5f54a85 into rhinstaller:1.8 Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.8 For stable version 1.8 bug enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants