Skip to content

fix: fix entities leak on world switch, add worldSwitch event #3624

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zardoy
Copy link
Contributor

@zardoy zardoy commented Mar 29, 2025

Emit removing the entity before actually removing it from the list (when clearing the object)

@rom1504
Copy link
Member

rom1504 commented Mar 29, 2025

Please add a test, see pending PR in switch world

@zardoy
Copy link
Contributor Author

zardoy commented Mar 29, 2025

see pending PR in switch world

That pr seems reliable enough for me, do you have any suggestion? Should I remove it here?

@rom1504
Copy link
Member

rom1504 commented Mar 29, 2025

Either finish the initial PR so the feature work including passing tests or do not use this feature yes
It's just about having a working implementation or not

@zardoy
Copy link
Contributor Author

zardoy commented Mar 29, 2025

It's just about having a working implementation or not

Ok, not a problem. I'll remove the event emitting then (since I'm not aware of the issues of that pr and I don't really need it)

@zardoy
Copy link
Contributor Author

zardoy commented Mar 31, 2025

I have no idea how to finish it, should I close it?

@rom1504
Copy link
Member

rom1504 commented Apr 7, 2025

Yes

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

Successfully merging this pull request may close these issues.

2 participants