Skip to content
This repository has been archived by the owner on Mar 2, 2019. It is now read-only.

add MenuPool:Remove, this removes the whole pool #11

Merged
merged 1 commit into from
Aug 21, 2018
Merged

add MenuPool:Remove, this removes the whole pool #11

merged 1 commit into from
Aug 21, 2018

Conversation

Blumlaut
Copy link
Contributor

This actually doesnt cause the same problems as MenuPool:Clear for some reason, i don't know why

However, using this when re-creating the menu will not cause any memory leaks when just using

_menuPool:Remove()
_menuPool = NativeUI.CreatePool()

Don't ask me why, i don't know.

This actually doesnt cause the same problems as MenuPool:Clear for some reason, i don't know why
@Blumlaut Blumlaut changed the title add MenuPool:remove, this removes the whole pool add MenuPool:Remove, this removes the whole pool Aug 21, 2018
Copy link
Owner

@FrazzIe FrazzIe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging.

@FrazzIe FrazzIe merged commit a350ec9 into FrazzIe:master Aug 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants