in reply to Re^5: 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?

Hi Rolf,

The only chance I see is to have a second dummy variable which is guaranteed to be destroyed later and to put the code into it's destructor. Hauke, I'm sure you want to try this out! ;-)

Actually, I was thinking in a different direction: eliminating the circular references in the first place :-) See my node here.

Regards,
-- Hauke D

  • Comment on Re^6: is there a way to ensure some code is the last thing that is run?

Replies are listed 'Best First'.
Re^7: is there a way to ensure some code is the last thing that is run?
by ikegami (Patriarch) on Feb 03, 2017 at 18:31 UTC

      Hi ikegami,

      Ah, you are correct, Thank you.

      Regards,
      -- Hauke D