You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to PaperMC/Waterfall#645
So basically there is a slim chance breaking the TMap in the Configuration class of Waterfall everytime a server is added/removed at the same time another thread is accessing it. Waterfall intruduced a lock object aswell as dedicated addServer() and removeServer() methods to mitigate this issue. I request CloudNet to use these methods, if they are found, or else fall back using the map to still keep the BungeeCord compatibility.
Reasons for inclusion into the CloudNet code base:
Fix synchronization issues accessing the server list
Related to PaperMC/Waterfall#645
So basically there is a slim chance breaking the TMap in the Configuration class of Waterfall everytime a server is added/removed at the same time another thread is accessing it. Waterfall intruduced a lock object aswell as dedicated addServer() and removeServer() methods to mitigate this issue. I request CloudNet to use these methods, if they are found, or else fall back using the map to still keep the BungeeCord compatibility.
Reasons for inclusion into the CloudNet code base:
Planned audience:
Preview of pseudo code :
The text was updated successfully, but these errors were encountered: