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

A thread.join exception coredump #29

Closed
zieckey opened this issue Apr 11, 2017 · 0 comments
Closed

A thread.join exception coredump #29

zieckey opened this issue Apr 11, 2017 · 0 comments
Labels

Comments

@zieckey
Copy link
Collaborator

zieckey commented Apr 11, 2017

        auto http_close_fn = [=]() {
            lt.hserver->Stop();
            OnListenThreadExited(exited_listen_thread_count->fetch_add(1) + 1);
        };

This lamba function use = to capture which will cause the shared_ptrstd::thread copied and then we cannot determine when to destruct the thread.

@zieckey zieckey added the bug label Apr 11, 2017
zieckey added a commit that referenced this issue Apr 11, 2017
of lamba function use = to capture parameters
which will cause the shared_ptrstd::thread copied
and then we cannot determine when to destruct the thread.

See #29
@zieckey zieckey closed this as completed Apr 12, 2017
zieckey added a commit that referenced this issue Apr 27, 2017
of lamba function use = to capture parameters
which will cause the shared_ptrstd::thread copied
and then we cannot determine when to destruct the thread.

See #29
zieckey added a commit that referenced this issue May 20, 2017
of lamba function use = to capture parameters
which will cause the shared_ptrstd::thread copied
and then we cannot determine when to destruct the thread.

See #29
zieckey added a commit that referenced this issue May 20, 2017
of lamba function use = to capture parameters
which will cause the shared_ptrstd::thread copied
and then we cannot determine when to destruct the thread.

See #29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant