LemonUIbyLemon / LemonUI

LemonUI for .NET (FiveM, RageMP, RagePluginHook and ScriptHookVDotNet 3)
MIT License
177 stars 40 forks source link

Use a new list when iterating the processable objects #90

Closed justalemon closed 1 year ago

justalemon commented 2 years ago

This should fix #44 once for all. It uses the same way I fixed the same problem with the Menu Item iteration.

Is not the right way to fix it, but due to how the different frameworks work, is the only cross-framework option.

@TheOfficialDroid @MrJohnDev I can't test this due to my local RageMP server not working, but can you guys test and see if this works?

MrJohnDev commented 2 years ago

изображение

Add Fix For RageMP изображение изображение

изображение

justalemon commented 2 years ago

I know about that bug, but is a different issue xd

I'm talking specifically about changing the list of processable objects while processing those objects.

justalemon commented 1 year ago

This caused performance issues when having a lot of menus and/or items.

Superseded by 5ee84937b963746c9c4572f132d6be1569d7c7cb