Hi Przemek,
Please, take my words as a mere sketch because it's possible that I'm
lost in your line of thought.
I think that INIT/EXIT procedures is fine controlled by runner so only
not registering them in globally solves the thing but it's possible that
I lose something more: now hrb module is CG.
Best regards,
Xavi
Przemyslaw Czerpak escribió:
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
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour