Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

0.9devel async_server run stop listen synchronization issue #36

Closed
Labels
Milestone
@simonncollins

Description

@simonncollins

if you bind async_server::run to a thread and then immediately call stop on that server instance, you can end up with a sync issue where calling cancel or similar on the acceptor will throw because it may not be open and listening yet.

a possible fix would be to check if async_server is in listening mode yet or not, and then only attempt to cancel the acceptor if so.

further, checking if async_server is stopping before attempting to start_listening would be useful too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp