Fix Windows64 mouse capture and static initialization crashes (#177)

This commit is contained in:
Andrew
2026-03-02 22:17:10 +02:00
committed by GitHub
parent bbef5445f9
commit f917335b13
2 changed files with 12 additions and 3 deletions

View File

@@ -169,9 +169,9 @@ Packet::Packet() : createTime( System::currentTimeMillis() )
unordered_map<int, packetCreateFn> Packet::idToCreateMap;
unordered_set<int> Packet::clientReceivedPackets = unordered_set<int>();
unordered_set<int> Packet::serverReceivedPackets = unordered_set<int>();
unordered_set<int> Packet::sendToAnyClientPackets = unordered_set<int>();
unordered_set<int> Packet::clientReceivedPackets;
unordered_set<int> Packet::serverReceivedPackets;
unordered_set<int> Packet::sendToAnyClientPackets;
// 4J Added
unordered_map<int, Packet::PacketStatistics *> Packet::outgoingStatistics = unordered_map<int, Packet::PacketStatistics *>();