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

Avoid race in datagram tests #185

Merged
merged 1 commit into from
Sep 4, 2023
Merged

Commits on Sep 4, 2023

  1. Avoid race in datagram tests

    Motivation:
    
    The datagram tests use a handler which sets its event loop in
    `channelRegistered`. A function on the handler is called which relies on
    the EL being set. However, this can race: the function can be called
    before `channelRegistered` is called.
    
    Modifications:
    
    - set the EL in `handlerAdded`
    
    Result:
    
    Fewer crashes
    glbrntt committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    c546416 View commit details
    Browse the repository at this point in the history