You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
io_context should process all posted works before shutting down (#865)
* Removed the stop statement while shutting down io_context.
* Added a new test `invocation_should_not_block_indefinitely_during_client_shutdown` which can be run indefinitely and observe that it is not being blocked in any run. An example way to reproduce the problem without this PR fix is :
```
for ((;;)) { /Users/ihsan/Desktop/work/src/hazelcast-cpp-client/cmake-build-arm-debug/hazelcast/test/src/client_test --gtest_filter=IssueTest.invocation_should_not_block_indefinitely_during_client_shutdown ; }
```
This run blocks after several runs in master branch but runs indefinite time with this PR fix with no problem.
0 commit comments