Skip to content

Conversation

@npczwh
Copy link
Contributor

@npczwh npczwh commented Sep 29, 2019

Bug fix for (#929 )

  • fixed the unclosed threads for half-sync-half-async pattern

Pull request description

  • add a close method to the AsynchronousService class, to wait for all tasks to be completed and shutdown the service
  • call the close method at the end of the main thread

@iluwatar iluwatar merged commit 3d62e02 into iluwatar:master Sep 30, 2019
@iluwatar iluwatar added this to the 1.22.0 milestone Sep 30, 2019
@iluwatar
Copy link
Owner

Excellent @npczwh, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants