A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Hello @qycx qycx ,
Welcome to our Microsoft Q&A platform!
but, when I use leakCanady, it reports a leak
It seems that you didn't add the Dispose command for the 'LeakingActivity' in OnDestroy method. Please add it and test.
protected override void OnDestroy()
{
// Dispose all disposable members
//_textView.Dispose();
base.OnDestroy();
Dispose();
}
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.