-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Fix not deleted bossbar when stop the server again #569
Conversation
Make sure your server fork and your plugins dont break boss bar behavior, im unable to reproduce the issue |
(unused boss bars are automatically collected by GC) |
(so there is a memory leak on your server which is definitely not a sensible reason to put more unnecessary code to the plugin lol) |
tbh it's also possible that there are old boss bars present on your server which were created using the keyed method |
also, your fix will most likely cause CME because keyed boss bars are stored server side in a HashMap |
And not keyed bossbar are not saved ? Also, with this fix, the server that report me this bug no longer have issue. |
Oh ok. And did you check if the /save-all command for example save them manually ? Like if there is another system that save them ? |
Oh ok, thanks for all of this informations, and sorry for disturbing |
It's nice you made changes for async, but with this you re-create a new bug with bossbar that are not disappearing when restarting the sevrer.
Actually, bossbar created and not deleted could not be removed by owner as they are not showed in
/bossbar remove
command.