[SERVER-29493] Make ThreadPoolTaskExecutor's destructor execute shutdown and join Created: 07/Jun/17 Updated: 30/Oct/23 Resolved: 09/Jun/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.9 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
By making the ThreadPoolTaskExecutor destructor call shutdown and join when necessary, it becomes possible to have shared ownership of a TaskExecutor, and simplifies cleanup of tests on errors. |
| Comments |
| Comment by Githook User [ 09/Jun/17 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: |