I needed some things to happen in an app before the stack is closed so thought i'd use either on closeStack, or on closeStackRequest to make this happen.
However these messages are fired off both when property inspectors are closed and when the code editor is closed - not just with the stack itself.
I know i can set a conditional
Code: Select all
if the environment is "development" then...
This makes it unusable in the IDE and I would argue that this is not correct behaviour... or is it? I would have thought that this being in the stack's stack script, it should only affect the current stack, not the property inspectors or the code editor.
Is this is not correct behaviour i'll file a bug request - grateful for input from those more knowledgeable that me!
Stam