Commit 51aff46
[vs18.0] Exit DrainPacketQueue thread when build completes. (#12765)
Backport of #12561 to vs18.0
Work item (Internal use):
[devdiv#2613541](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2613541)
### Summary
MSBuild communications threads were incorrectly not exiting when builds
completed.
### Customer Impact
Memory leak that gets worse with each build or design-time build
operation.
### Regression?
Yes, from 17.14.
### Testing
Unit tests, manual testing, already inserted into 18.3 builds.
### Risk
Low.
---------
Co-authored-by: Eric Arndt <[email protected]>
Co-authored-by: Rainer Sigwald <[email protected]>1 parent 149ded8 commit 51aff46
File tree
2 files changed
+8
-4
lines changed- eng
- src/Build/BackEnd/Components/Communications
2 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| 686 | + | |
686 | 687 | | |
687 | 688 | | |
688 | 689 | | |
| |||
850 | 851 | | |
851 | 852 | | |
852 | 853 | | |
853 | | - | |
| 854 | + | |
854 | 855 | | |
855 | | - | |
856 | | - | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
857 | 861 | | |
858 | 862 | | |
859 | 863 | | |
| |||
0 commit comments