[Mono-dev] [PATCH] System.Web.HttpApplicationFactory: App_End in global.asax called multiple times

Marek Habersack grendello at gmail.com
Wed Apr 4 10:12:58 EDT 2007


On Wed, 04 Apr 2007 16:10:47 +0200, Juraj Skripsky <js at hotfeet.ch> scribbled:

> Hello,
Hello,

> Most of the time, Application_End in global.asax is called multiple
> times for a single ending application. The problem is in
> HttpApplicationFactory.OnFileChanged: the lock guards the method against
> multiple _concurrent_ shutdowns only. It can still execute multiple
> times sequentially (FileSystemWatcher emits multiple events when
> global.asax is changed).
> 
> The attached patch fixes that.
Please commit, thanks!

regards,

marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070404/2ea978c1/attachment.bin 


More information about the Mono-devel-list mailing list