CubicMC / cubic-server

A fast and extensible C++ Minecraft server implementation
https://cubicmc.org
GNU General Public License v3.0
53 stars 6 forks source link

Fix race conditions in chunk sending after gen #239

Closed emneo-dev closed 10 months ago

emneo-dev commented 10 months ago

This was awfully simple to fix, just a mutex to lock ;w;

Fixes #220

cloudflare-pages[bot] commented 10 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: df75c98
Status: ✅  Deploy successful!
Preview URL: https://cd58f3a9.cubic-server.pages.dev
Branch Preview URL: https://fix-chunks-rc.cubic-server.pages.dev

View logs

STMiki commented 10 months ago

Doesn't this disable multi threaded generation ?