Jim Bennett
Xamarin MVP Microsoft MVP

Mobile developer at EROAD, Xamarin MVP and Certified Developer, Microsoft MVP, author of Xamarin In Action, blogger, speaker, father and lover of beer, whisky and Thai food. Opinions are my own.

  Auckland, New Zealand
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