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

mgr/dashboard: Fix data race and use-before-assignment #21590

Merged

Commits on Apr 23, 2018

  1. mgr/dashboard: Fix data race and use-before-assignment

    The race happes, if a task raises an exception very early.
    Then, `self.getter_thread.event` fails as `getter_thread` is
    already `None`
    
    Also fix use-before-assignment, as `t0` and `t1` are only defined,
    if no exception was raised.
    
    Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
    sebastian-philipp committed Apr 23, 2018
    Configuration menu
    Copy the full SHA
    3a795a4 View commit details
    Browse the repository at this point in the history