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
|
#ifdef _WINDOWS64
|
||||||
std::vector<Win64LANSession> lanSessions = WinsockNetLayer::GetDiscoveredSessions();
|
std::vector<Win64LANSession> lanSessions = WinsockNetLayer::GetDiscoveredSessions();
|
||||||
|
|
||||||
|
//THEY GET DELETED HERE DAMMIT
|
||||||
for (size_t i = 0; i < friendsSessions[0].size(); i++)
|
for (size_t i = 0; i < friendsSessions[0].size(); i++)
|
||||||
delete friendsSessions[0][i];
|
delete friendsSessions[0][i];
|
||||||
friendsSessions[0].clear();
|
friendsSessions[0].clear();
|
||||||
|
|
@ -757,7 +758,7 @@ void CPlatformNetworkManagerStub::SearchForGames()
|
||||||
name = wline;
|
name = wline;
|
||||||
phase = 0;
|
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();
|
FriendSessionInfo* info = new FriendSessionInfo();
|
||||||
wchar_t label[128];
|
wchar_t label[128];
|
||||||
wcsncpy_s(label, sizeof(label)/sizeof(wchar_t), name.c_str(), _TRUNCATE);
|
wcsncpy_s(label, sizeof(label)/sizeof(wchar_t), name.c_str(), _TRUNCATE);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue