diff --git a/Makers/base/Scripts/Libs/Nadeo/MP4/TPLagoon/Components/Multiplayer/MultiplayerAPI.Script.txt b/Makers/base/Scripts/Libs/Nadeo/MP4/TPLagoon/Components/Multiplayer/MultiplayerAPI.Script.txt index d16a1dd..c73c31b 100644 --- a/Makers/base/Scripts/Libs/Nadeo/MP4/TPLagoon/Components/Multiplayer/MultiplayerAPI.Script.txt +++ b/Makers/base/Scripts/Libs/Nadeo/MP4/TPLagoon/Components/Multiplayer/MultiplayerAPI.Script.txt @@ -314,11 +314,11 @@ Void ServerPull() { } else { G_CanPageUp = False; } - Http.Destroy(G_Request); - G_Request = Null; } else { Logger::Warn("ResultNode == Null"); } + Http.Destroy(G_Request); + G_Request = Null; Xml.Destroy(XmlDoc); } @@ -662,6 +662,8 @@ Boolean HasFetchedChannelInfo() { Logger::Warn("ERROR Url " ^ G_RequestChannelInfo.Url); Logger::Warn("ERROR Code " ^ G_RequestChannelInfo.StatusCode); Logger::Warn("ERROR Content " ^ G_RequestChannelInfo.Result); + Http.Destroy(G_RequestChannelInfo); + G_RequestChannelInfo = Null; return False; } else { G_ChannelInfoResult.fromjson(G_RequestChannelInfo.Result);