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

Revert the thread_pool destruction on shutdown, revert back the fix for issue https://github.com/chriskohlhoff/asio/issues/431 #751

Merged
merged 3 commits into from
Jan 8, 2021

Conversation

ihsandemir
Copy link
Collaborator

@ihsandemir ihsandemir commented Jan 8, 2021

Removed destruction of the thread_pool on shutdown and left it to actual client destruction. Failing to do this causes illegal memory access during destruction of stands in the listener_service_impl.

Removed the work around of bug chriskohlhoff/asio#431.

Added correct handling of the invocation retry timer. If it is not assigned to a timer variable in the invocation then it will actually be destroyed immediately, which will cause the timer cancelled immediately on destruction but this is not what we want.

Also added couble check client shutdown on connection opening.

fixes #739

…ual client destruction. Failing to do this causes illegal memory access during destruction of stands in the listener_service_impl.

Removed the work around of bug chriskohlhoff/asio#431.

Added correct handling of the invocation retry timer. If it is not assigned to a timer variable in the invocation then it will actually be destroyed immediately, which will cause the timer cancelled immediately on destruction but this is not what we want.
@ihsandemir ihsandemir added this to the 4.0 milestone Jan 8, 2021
@ihsandemir ihsandemir requested review from sancar and yemreinci January 8, 2021 05:52
@ihsandemir ihsandemir self-assigned this Jan 8, 2021
@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@ihsandemir ihsandemir marked this pull request as ready for review January 8, 2021 10:07
@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@ihsandemir ihsandemir merged commit 7caeca5 into hazelcast:master Jan 8, 2021
@ihsandemir ihsandemir deleted the unhandled_exc_fix branch January 8, 2021 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants