fix: Various crashes
This commit is contained in:
parent
d38d261bbc
commit
0119ec0055
5
external/ImGui/source/imgui.cpp
vendored
5
external/ImGui/source/imgui.cpp
vendored
@ -6730,8 +6730,9 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags)
|
||||
if (window == window->RootWindow)
|
||||
{
|
||||
ImGuiWindow* blocking_modal = FindBlockingModal(window);
|
||||
IM_ASSERT(blocking_modal != NULL);
|
||||
BringWindowToDisplayBehind(window, blocking_modal);
|
||||
|
||||
if (blocking_modal != NULL)
|
||||
BringWindowToDisplayBehind(window, blocking_modal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -194,10 +194,14 @@ namespace hex::init {
|
||||
SharedData::footerItems.clear();
|
||||
SharedData::toolbarItems.clear();
|
||||
|
||||
SharedData::globalShortcuts.clear();
|
||||
SharedData::runningTasks.clear();
|
||||
|
||||
SharedData::dataProcessorNodes.clear();
|
||||
|
||||
SharedData::recentFilePaths.clear();
|
||||
|
||||
|
||||
SharedData::clearVariables();
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user