mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
feat: Added basic network interface support
This commit is contained in:
@@ -325,6 +325,11 @@ namespace hex::init {
|
||||
ContentRegistry::FileHandler::impl::getEntries().clear();
|
||||
ContentRegistry::Hashes::impl::getHashes().clear();
|
||||
|
||||
ContentRegistry::BackgroundServices::impl::stopServices();
|
||||
ContentRegistry::BackgroundServices::impl::getServices().clear();
|
||||
|
||||
ContentRegistry::CommunicationInterface::impl::getNetworkEndpoints().clear();
|
||||
|
||||
LayoutManager::reset();
|
||||
|
||||
ThemeManager::reset();
|
||||
|
||||
@@ -164,7 +164,9 @@ namespace hex {
|
||||
}
|
||||
|
||||
this->m_windowTitle = title;
|
||||
glfwSetWindowTitle(this->m_window, title.c_str());
|
||||
|
||||
if (this->m_window != nullptr)
|
||||
glfwSetWindowTitle(this->m_window, title.c_str());
|
||||
});
|
||||
|
||||
constexpr static auto CrashBackupFileName = "crash_backup.hexproj";
|
||||
@@ -1012,6 +1014,8 @@ namespace hex {
|
||||
void Window::exitGLFW() {
|
||||
glfwDestroyWindow(this->m_window);
|
||||
glfwTerminate();
|
||||
|
||||
this->m_window = nullptr;
|
||||
}
|
||||
|
||||
void Window::exitImGui() {
|
||||
|
||||
Reference in New Issue
Block a user