mirror of
https://github.com/kevinporetti/UnrealImGui.git
synced 2025-01-18 08:20:32 +00:00
Fixed a crash in the input handler caused by invalidated by hot-reload instance trying to unregister a delegate.
This commit is contained in:
parent
bbc3101a58
commit
9eed8f93b9
@ -5,6 +5,10 @@ Versions marked as 'unofficial' are labelled only for the needs of this changelo
|
||||
Change History
|
||||
--------------
|
||||
|
||||
Version: 1.21 (2020/07)
|
||||
Improving stability
|
||||
- Fixed a crash in the input handler caused by invalidated by hot-reload instance trying to unregister a delegate.
|
||||
|
||||
Version: 1.20 (2020/06)
|
||||
Transition to IWYU and maintenance:
|
||||
- Replaced includes of monolithic headers.
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "1.20",
|
||||
"VersionName": "1.21",
|
||||
"FriendlyName": "ImGui",
|
||||
"Description": "",
|
||||
"Category": "Debug",
|
||||
|
@ -9,7 +9,7 @@ Dear ImGui is an immediate-mode graphical user interface library that is very li
|
||||
|
||||
Status
|
||||
------
|
||||
Version: 1.20
|
||||
Version: 1.21
|
||||
|
||||
ImGui version: 1.74
|
||||
|
||||
|
@ -349,7 +349,9 @@ void UImGuiInputHandler::BeginDestroy()
|
||||
{
|
||||
Super::BeginDestroy();
|
||||
|
||||
if (ModuleManager)
|
||||
// To catch leftovers from modules shutdown during PIE session.
|
||||
extern FImGuiModuleManager* ImGuiModuleManager;
|
||||
if (ModuleManager && ModuleManager == ImGuiModuleManager)
|
||||
{
|
||||
ModuleManager->GetSettings().OnUseSoftwareCursorChanged.RemoveAll(this);
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ struct EDelegateCategory
|
||||
};
|
||||
};
|
||||
|
||||
static FImGuiModuleManager* ImGuiModuleManager = nullptr;
|
||||
FImGuiModuleManager* ImGuiModuleManager = nullptr;
|
||||
|
||||
#if WITH_EDITOR
|
||||
static FImGuiEditor* ImGuiEditor = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user