View Full Version : AbstractApplicationContext.Close method
ContextClosed(this,new ApplicationEventArgs());
right?
if (ContextClosed!=null)
ContextClosed(this,new ApplicationEventArgs());
Mark Pollack
11-15-2004, 04:36 AM
Hi,
Thanks again! I have made the change in CVS. Looking into this did bring up the issue of thread safety and firing of an event which we will investigate further. For some interesting reading on this check out Jay Bazuzi's blog entries:
Safely Firing an Event (http://blogs.msdn.com/jaybaz_ms/archive/2004/03/19/92787.aspx)
Safely Firing an Event, Part 2 (http://blogs.msdn.com/jaybaz_ms/archive/2004/06/17/158636.aspx)
Safely Firing an Event, Part 3 (http://blogs.msdn.com/jaybaz_ms/archive/2004/09/16/230681.aspx)
Cheers,
Mark
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.