From 73485d7a86df8998eaa8491846b7c132809a51bd Mon Sep 17 00:00:00 2001 From: "Tim.Ebbeke" Date: Wed, 10 Jan 2024 12:34:28 +0100 Subject: [PATCH] Fixed merge conflict garbage. --- nui/src/nui/backend/window_impl_linux.ipp | 24 ----------------------- 1 file changed, 24 deletions(-) diff --git a/nui/src/nui/backend/window_impl_linux.ipp b/nui/src/nui/backend/window_impl_linux.ipp index 10af6bd..c87654b 100644 --- a/nui/src/nui/backend/window_impl_linux.ipp +++ b/nui/src/nui/backend/window_impl_linux.ipp @@ -1,10 +1,5 @@ #include "gobject.hpp" -<<<<<<< HEAD -#include - -======= ->>>>>>> dfe851c (Fixed segfault on linux with large custom scheme data.) namespace Nui::Impl::Linux { struct AsyncResponse @@ -12,15 +7,6 @@ namespace Nui::Impl::Linux GObjectReference stream; GObjectReference response; std::string data; -<<<<<<< HEAD - ~AsyncResponse() - { - std::cout << "AsyncResponse dtor" << std::endl; - if (stream) - g_input_stream_close(stream.get(), nullptr, nullptr); - } -======= ->>>>>>> dfe851c (Fixed segfault on linux with large custom scheme data.) }; struct SchemeContext @@ -200,17 +186,7 @@ extern "C" { void uriSchemeDestroyNotify(void* userData) { -<<<<<<< HEAD - auto* schemeContext = static_cast(userData); - auto impl = schemeContext->impl.lock(); - if (!impl) - return; - - std::lock_guard asyncResponsesGuard{schemeContext->asyncResponsesGuard}; - schemeContext->asyncResponses.clear(); -======= // Useless, because called when everything is already destroyed ->>>>>>> dfe851c (Fixed segfault on linux with large custom scheme data.) } }