in reply to Re: is there a way to ensure some code is the last thing that is run?
in thread is there a way to ensure some code is the last thing that is run?
But just in order not to be misunderstood:
I provided the example just to illustrate how destructors can run after END-blocks.
In this particular case the problem is of couse the circular reference (that I put there simply to force this behaviour).
My question is not how to fix this particular case but if there was a way to ensure something is run at the very end, in particular when using some unknown code that you do not want to fiddle with.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: is there a way to ensure some code is the last thing that is run? (updated)
by haukex (Archbishop) on Feb 03, 2017 at 17:03 UTC | |
|
Re^3: is there a way to ensure some code is the last thing that is run?
by RonW (Parson) on Feb 06, 2017 at 20:03 UTC |