Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove behaviors listed in stackfiles when closing a ui stack with destroystack set to true #124

Open
trevordevore opened this issue Nov 20, 2018 · 0 comments

Comments

@trevordevore
Copy link
Owner

When closing a ui stack which has destroyStack set to true Levure should remove all of the behaviors from memory as well. The behaviors should only be removed, however, if no other open stacks are referencing the behavior.

LiveCode 9 added the revbehaviourses function. It takes a reference to an object and returns an array list of object long IDs for objects that are using a behavior.

PR for revBehaviorUses:
livecode/livecode#5788

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant