mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
they get deleted all this time ohhhhhh
This commit is contained in:
parent
b1ea2f5360
commit
8cbdba684f
|
|
@ -701,6 +701,7 @@ void CPlatformNetworkManagerStub::SearchForGames()
|
|||
#ifdef _WINDOWS64
|
||||
std::vector<Win64LANSession> lanSessions = WinsockNetLayer::GetDiscoveredSessions();
|
||||
|
||||
//THEY GET DELETED HERE DAMMIT
|
||||
for (size_t i = 0; i < friendsSessions[0].size(); i++)
|
||||
delete friendsSessions[0][i];
|
||||
friendsSessions[0].clear();
|
||||
|
|
@ -757,7 +758,7 @@ void CPlatformNetworkManagerStub::SearchForGames()
|
|||
name = wline;
|
||||
phase = 0;
|
||||
|
||||
//I assume it gets deleted later down the line, otherwise why would REVs be thrown?
|
||||
//THEY GET DELETED AFTER USE LIKE 30 LINES UP!!
|
||||
FriendSessionInfo* info = new FriendSessionInfo();
|
||||
wchar_t label[128];
|
||||
wcsncpy_s(label, sizeof(label)/sizeof(wchar_t), name.c_str(), _TRUNCATE);
|
||||
|
|
|
|||
Loading…
Reference in a new issue