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

Fix: Interrupt the thread in QueuedThreadPoolExecutor. #1276

Merged
merged 3 commits into from
Feb 22, 2021

Conversation

maciejwalkowiak
Copy link
Contributor

📜 Description

Interrupt the thread in QueuedThreadPoolExecutor.

💡 Motivation and Context

When wait till idle is interrupted, it should interrupt also the parent thread.

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

@codecov-io
Copy link

codecov-io commented Feb 19, 2021

Codecov Report

Merging #1276 (7b65526) into main (e0e8be8) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1276      +/-   ##
============================================
- Coverage     75.04%   75.03%   -0.02%     
  Complexity     1752     1752              
============================================
  Files           183      183              
  Lines          6159     6160       +1     
  Branches        610      610              
============================================
  Hits           4622     4622              
- Misses         1258     1259       +1     
  Partials        279      279              
Impacted Files Coverage Δ Complexity Δ
.../io/sentry/transport/QueuedThreadPoolExecutor.java 72.00% <0.00%> (-3.00%) 7.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e0e8be8...4d75333. Read the comment docs.

@maciejwalkowiak maciejwalkowiak merged commit 090e4c7 into main Feb 22, 2021
@maciejwalkowiak maciejwalkowiak deleted the interrupt-executor branch February 22, 2021 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants