Skip to content

Commit

Permalink
Merge branch 'release/4.27/2.0.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
olga-salina committed May 22, 2024
2 parents 1aba4a0 + 8ad0fbd commit 2824ff1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Source/Demo/XsollaUIBuilder/Private/XsollaUIBuilderModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ const FName FXsollaUIBuilderModule::ModuleName = "XsollaUIBuilder";
void FXsollaUIBuilderModule::StartupModule()
{
// Register settings
XsollaUIBuilderSettings = NewObject<UXsollaUIBuilderSettings>(GetTransientPackage(), "XsollaUIBuilderSettings", RF_Standalone);
XsollaUIBuilderSettings->AddToRoot();
XsollaUIBuilderSettings = GetMutableDefault<UXsollaUIBuilderSettings>();

if (ISettingsModule* SettingsModule = FModuleManager::GetModulePtr<ISettingsModule>("Settings"))
{
Expand All @@ -36,8 +35,11 @@ void FXsollaUIBuilderModule::ShutdownModule()

if (!GExitPurge)
{
// If we're in exit purge, this object has already been destroyed
XsollaUIBuilderSettings->RemoveFromRoot();
if (XsollaUIBuilderSettings->IsRooted())
{
// If we're in exit purge, this object has already been destroyed
XsollaUIBuilderSettings->RemoveFromRoot();
}
}
else
{
Expand Down
1 change: 1 addition & 0 deletions Source/XsollaLogin/Private/XsollaLoginLibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "XsollaSettings/Public/XsollaProjectSettings.h"
#include "XsollaSettings/Public/XsollaSettingsModule.h"
#include "TextureResource.h"
#include "Runtime/Launch/Resources/Version.h"

UXsollaLoginLibrary::UXsollaLoginLibrary(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
Expand Down
1 change: 1 addition & 0 deletions Source/XsollaLogin/Private/XsollaLoginSubsystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "XsollaUtilsDataModel.h"
#include "XsollaLoginBrowserWrapper.h"
#include "Misc/EngineVersion.h"
#include "Runtime/Launch/Resources/Version.h"

#if PLATFORM_ANDROID
#include "Android/XsollaJavaConvertor.h"
Expand Down
2 changes: 2 additions & 0 deletions Source/XsollaStore/Private/XsollaStoreSubsystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include "XsollaLoginLibrary.h"
#include "Async/Async.h"
#include "Kismet/GameplayStatics.h"
#include "Runtime/Launch/Resources/Version.h"
#include "Misc/EngineVersion.h"
#if PLATFORM_ANDROID
#include "XsollaLogin/Private/Android/XsollaJavaConvertor.h"
#include "XsollaLogin/Private/Android/XsollaMethodCallUtils.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "Runtime/Launch/Resources/Version.h"
#include "Serialization/JsonReader.h"
#include "Serialization/JsonSerializer.h"
#include "Misc/EngineVersion.h"

const FString XsollaUtilsHttpRequestHelper::NoResponseErrorMsg(TEXT("No response"));
const FString XsollaUtilsHttpRequestHelper::UnknownErrorMsg(TEXT("Unknown error"));
Expand Down

0 comments on commit 2824ff1

Please sign in to comment.