Skip to content

Commit 73485d7

Browse files
committed
Fixed merge conflict garbage.
1 parent 9de537b commit 73485d7

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

nui/src/nui/backend/window_impl_linux.ipp

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,12 @@
11
#include "gobject.hpp"
22

3-
<<<<<<< HEAD
4-
#include <iostream>
5-
6-
=======
7-
>>>>>>> dfe851c (Fixed segfault on linux with large custom scheme data.)
83
namespace Nui::Impl::Linux
94
{
105
struct AsyncResponse
116
{
127
GObjectReference<GInputStream> stream;
138
GObjectReference<WebKitURISchemeResponse> response;
149
std::string data;
15-
<<<<<<< HEAD
16-
~AsyncResponse()
17-
{
18-
std::cout << "AsyncResponse dtor" << std::endl;
19-
if (stream)
20-
g_input_stream_close(stream.get(), nullptr, nullptr);
21-
}
22-
=======
23-
>>>>>>> dfe851c (Fixed segfault on linux with large custom scheme data.)
2410
};
2511

2612
struct SchemeContext
@@ -200,17 +186,7 @@ extern "C" {
200186

201187
void uriSchemeDestroyNotify(void* userData)
202188
{
203-
<<<<<<< HEAD
204-
auto* schemeContext = static_cast<Nui::Impl::Linux::SchemeContext*>(userData);
205-
auto impl = schemeContext->impl.lock();
206-
if (!impl)
207-
return;
208-
209-
std::lock_guard<std::mutex> asyncResponsesGuard{schemeContext->asyncResponsesGuard};
210-
schemeContext->asyncResponses.clear();
211-
=======
212189
// Useless, because called when everything is already destroyed
213-
>>>>>>> dfe851c (Fixed segfault on linux with large custom scheme data.)
214190
}
215191
}
216192

0 commit comments

Comments
 (0)