Skip to content

Commit

Permalink
fix: Disable template pooling on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
ebariche committed Jan 19, 2024
1 parent b0c96b3 commit 852b286
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Uno.UI/UI/Xaml/FrameworkTemplatePool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,13 @@ public static class TraceProvider
/// <summary>
/// Determines if the pooling is enabled. If false, all requested instances are new.
/// </summary>
public static bool IsPoolingEnabled { get; set; } = true;
/// <remarks>
/// Disabled by default on Android. See: https://github.com/unoplatform/uno/issues/13969
/// </remarks>
public static bool IsPoolingEnabled { get; set; }
#if !__ANDROID__
= true;
#endif

/// <summary>
/// Gets a value indicating whether the pool is currently recycling a template.
Expand Down

0 comments on commit 852b286

Please sign in to comment.