Skip to content

[leak scan] Fix handler collection retention memory leak - #38768

Merged
kubaflo merged 2 commits into
dotnet:inflight/currentfrom
Shalini-Ashokan:fix/38671-handler-collection-leak
Sep 24, 2026
Merged

kubaflo merged 2 commits into
dotnet:inflight/currentfrom
Shalini-Ashokan:fix/38671-handler-collection-leak

Added missed namespace

162c210
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Sep 24, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Known Infrastructure Errors

Build Failures

maui-pr-uitests / Android UITests CoreClr / Controls (API 30) / Controls (API 30) CollectionView5 / Controls (API 30) CollectionView5

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌PowerShell exited with code '1'.

maui-pr-uitests / Android UITests SafeAreaEdges (API 36 Pixel 3 XL) / Controls SafeAreaEdges (API 36 Pixel 3 XL) / Controls SafeAreaEdges (API 36 Pixel 3 XL)

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌PowerShell exited with code '1'.

maui-pr-uitests / Android UITests SafeAreaEdges (API 36 Pixel 3 XL) / Controls SafeAreaEdges (API 36 Pixel 3 XL) / Publish the android_ui_tests_safeareaedges_controls_36 test results

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

7 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [maui-pr-uitests] [maui-pr-devicetests]

Test Failures (9 tests failed)

🔹 [All failing tests from maui-pr-devicetests]

🔹 [All failing tests from maui-pr-uitests]

    ⚠️ 4 failing tests not displayed for this pipeline due to space limitations

    ❌ Microsoft.Maui.TestCases.Tests.Issues.Issue24996(Mac).ChangingTranslationShouldNotCauseLayoutPassOnAncestors [Details] [2.71% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
      Assert.That(textUpdated, Is.True)
      Expected: True
      But was:  False
    
    CallStack
       at Microsoft.Maui.TestCases.Tests.Issues.Issue24996.ChangingTranslationShouldNotCauseLayoutPassOnAncestors() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24996.cs:line 28
    

    1) at Microsoft.Maui.TestCases.Tests.Issues.Issue24996.ChangingTranslationShouldNotCauseLayoutPassOnAncestors() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24996.cs:line 28

    ❌ Microsoft.Maui.TestCases.Tests.Issues.Issue25371(Mac).ValidateOnNavigationToMethod [Details] [0.29% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    System.TimeoutException : Timed out waiting for element...
    CallStack
       at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2790
       at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 828
       at Microsoft.Maui.TestCases.Tests.Issues.Issue25371.ValidateOnNavigationToMethod() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25371.cs:line 26
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    
    ❌ Microsoft.Maui.TestCases.Tests.Issues.Issue26598(Mac).TabBarShouldbeVisibleNavigatingBackFromNonTabbedPage [Details] [3.93% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    System.TimeoutException : Timed out waiting for element...
    CallStack
       at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2790
       at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 828
       at Microsoft.Maui.TestCases.Tests.Issues.Issue26598.TabBarShouldbeVisibleNavigatingBackFromNonTabbedPage() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue26598.cs:line 31
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    

Was this helpful? Yes No