Skip to content

Conversation

@Harveykang
Copy link

No description provided.

super.markDead()
// FIXME 原版的驱逐队列满后不会调用 markDead,百分百泄漏,
// 我们的 ParticleManagerMixin 可以确保没问题,
// 但是一旦关闭 ParticleManagerMixin 注入,就绝对有问题
Copy link
Author

Choose a reason for hiding this comment

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

如果有 AsyncParticles 的话关了也没问题

* 客户端可视
*/
val clientEmitters = HashMap<UUID, ParticleEmitters>()
val clientEmitters = ConcurrentHashMap<UUID, ParticleEmitters>()
Copy link
Author

Choose a reason for hiding this comment

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

这样可以放到两 tick 之间执行,在 AsyncParticles 那边做的,暂时还没 push 上去

@CooStack CooStack merged commit 8c9857d into CooStack:master May 23, 2025
1 check passed
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