Does the NotificationService use strong or weak references?

Category: visual studio lsextensibility

Question

Jan Van der Haegen on Wed, 05 Mar 2014 15:16:38


Hey expert,

does the LightSwitch desktop client's INotificationService implementation use strong or weak references?  Will an instance of my class be prevented from being GC'd because I subscribed to a particular event?

Thanks

Jan


It's your story - time to switch on the innovation.||About me||LightSwitch blog

Replies

Justin Anderson on Wed, 05 Mar 2014 19:51:23


It uses weak references.

Jan Van der Haegen on Wed, 05 Mar 2014 23:42:01


Purfect, thanks for confirming!