-
Notifications
You must be signed in to change notification settings - Fork 985
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
Ensure proper ref count of underlying ocx #12281
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12281 +/- ##
===================================================
+ Coverage 75.43346% 75.44869% +0.01523%
===================================================
Files 3103 3105 +2
Lines 634314 634353 +39
Branches 46876 46876
===================================================
+ Hits 478485 478611 +126
+ Misses 152403 152324 -79
+ Partials 3426 3418 -8
Flags with carried forward coverage won't be shown. Click here to find out more. |
/backport to release/9.0 |
Started backporting to release/9.0: https://github.com/dotnet/winforms/actions/runs/11240680586 |
/backport to release/8.0 |
Started backporting to release/8.0: https://github.com/dotnet/winforms/actions/runs/11240684310 |
@lonitra backporting to release/8.0 failed, the patch most likely resulted in conflicts: $ git am --3way --ignore-whitespace --keep-non-patch changes.patch
Applying: Ensure proper ref count of underlying ocx
Using index info to reconstruct a base tree...
A src/System.Windows.Forms/src/System/Windows/Forms/ActiveX/AxHost.cs
M src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/AxHostTests.cs
Falling back to patching base and 3-way merge...
Auto-merging src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/AxHostTests.cs
Auto-merging src/System.Windows.Forms/src/System/Windows/Forms/AxHost.cs
CONFLICT (content): Merge conflict in src/System.Windows.Forms/src/System/Windows/Forms/AxHost.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0001 Ensure proper ref count of underlying ocx
Error: The process '/usr/bin/git' failed with exit code 128 Please backport manually! |
Fixes #12056
We had missed a release in
CreateWithoutLicense
, causing the underlying ocx to linger afterAxHost
control disposal. Made the same adjustment forCreateWithLicense
. While investigating also noticed a missing release forShowPropertyPages
so fixed this as well. Regression test has been added for this issue scenario.Microsoft Reviewers: Open in CodeFlow