Skip to content

After registering CloseCallback, EventBase::loop() hangs until idle timeout #11

Closed

Description

@marccelani

CloseCallback registers an event on the eventbase, so loop() will not exit until it is unregistered. Idle timeouts are typically much larger than normal timeouts, so this basically means that you cannot use a close callback if you plan to drive the event base with loop()

Activity

  1. djwatson commented on Sep 16, 2014

    @djwatson

    works as intended - otherwise we wouldn't get close callback at all

  2. added 2 commits that reference this issue on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions