[World] Fix Rarer Reload Deadlock (#4893)

This commit is contained in:
Chris Miles
2025-05-16 13:38:42 -05:00
committed by GitHub
parent a56bb52808
commit c7a463420b
3 changed files with 22 additions and 1 deletions
+3
View File
@@ -74,7 +74,10 @@ public:
const std::list<std::unique_ptr<ZoneServer>> &getZoneServerList() const;
inline uint32_t GetServerListCount() { return zone_server_list.size(); }
void SendServerReload(ServerReload::Type type, uchar *packet = nullptr);
std::mutex m_queued_reloads_mutex;
std::vector<ServerReload::Type> m_queued_reloads = {};
void QueueServerReload(ServerReload::Type &type);
private:
void OnTick(EQ::Timer *t);
uint32 NextID;