fix: bugs in private instances causing master crashes (#1986)

* fix: bugs in private instances causing master crashes

tested that creating a private instance and shutting down the server no longer crashes master

* Update InstanceManager.cpp
This commit is contained in:
David Markowitz
2026-06-08 21:22:04 -07:00
committed by GitHub
parent 045e097b13
commit a307f0601a
3 changed files with 11 additions and 7 deletions

View File

@@ -133,6 +133,7 @@ public:
const InstancePtr& CreatePrivateInstance(LWOMAPID mapID, LWOCLONEID cloneID, const std::string& password);
const InstancePtr& FindPrivateInstance(const std::string& password);
void SetIsShuttingDown(bool value) { this->m_IsShuttingDown = value; };
void PruneUnreadyInstances();
private:
std::string mExternalIP;