Jim Bennett
Cloud Developer Advocate

Senior Cloud Developer Advocate at Microsoft, Xamarin Certified Developer, author of Xamarin In Action, blogger, speaker, father and lover of beer, whisky and Thai food. Opinions are my own.

  Reading, UK
Xamarin In Action
  Xamarin In Action
  Twitter
  GitHub
  LinkedIn
  YouTube
  Email
  CV

WeakEvents in PCLs

One of the biggest causes of memory leaks I've seen in C# applications is events. Although C# can't leak in the same way C++ can, it's easy to unintentionally end up with references you weren't expecting - and what a lot of people don't realise or forget is that subscribing to an event holds a reference from the event source to the event target, e…

Read More
 

WeakEvents in PCLs

One of the biggest causes of memory leaks I've seen in C# applications is events. Although C# can't leak in the same way C++ can, it's easy to unintentionally end up with references you weren't expecting - and what a lot of people don't realise or forget is that subscribing to an event holds a reference from the event source to the event target, e…

Read More