On Wed, 09 Jul 2008, Javier wrote:
Hi Javier,
> > ; TOFIX: add protection against possible double executing of
> > EXIT procedures in .HRB modules in HVM quit phase
> Please, could you explain in that you are thinking.
Now it's possible to create situation when EXIT procedures will be
executed twice.
proc main()
memvar p
public p
p:=__hrbLoad("tst.hrb")
return
/*** tst.prg ***/
exit proc x
? "I'm exit procedure"
return
I can quite easy block it globally but I would like to
allow executing .hrb EXIT procedures for modules loaded
inside other EXIT procedures and for this I will need
deeper modifications. If I'll find time for it then I'll
make it. If not then I'll simply block executing .hrb EXIT
procedures after executing all other ones.
best regards
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour