diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2017-01-03 05:02:10 -0700 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2017-01-03 12:02:10 +0000 |
commit | 58909e205a6b10fd1ed834c0ea5a37950504d035 (patch) | |
tree | 3d7d29a6b6fdb48af4792d3e0f30319a39531482 /Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems | |
parent | f003cfd3886adb85cd6dd10e8083bc82abb68234 (diff) | |
download | xamarin-forms-58909e205a6b10fd1ed834c0ea5a37950504d035.tar.gz xamarin-forms-58909e205a6b10fd1ed834c0ea5a37950504d035.tar.bz2 xamarin-forms-58909e205a6b10fd1ed834c0ea5a37950504d035.zip |
Allow subscriber to be collected if MessagingCenter is the only reference to it (#617)
* Repro
* Make messaging center callbacks weak references
* Preserve attribute
* Fix test method name
* Watch for collection of actual delegate target instead of wrapper delegate
* Preserve the original platform instance when changing main page
* Better tests for lambda situations
* Update tests, make callback target a weakreference if it's the subscriber
* Ensure old Platform MessagingCenter subs are gone before creating new Platform
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems')
-rw-r--r-- | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems index e0af0ca2..36ed04cb 100644 --- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems @@ -479,6 +479,7 @@ <Compile Include="$(MSBuildThisFileDirectory)Bugzilla36802.cs" /> <Compile Include="$(MSBuildThisFileDirectory)Bugzilla35736.cs" /> <Compile Include="$(MSBuildThisFileDirectory)Bugzilla48158.cs" /> + <Compile Include="$(MSBuildThisFileDirectory)Bugzilla45926.cs" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="$(MSBuildThisFileDirectory)Bugzilla22229.xaml"> |