File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change 1
1
#include " gobject.hpp"
2
2
3
- <<<<<<< HEAD
4
- #include < iostream>
5
-
6
- =======
7
- >>>>>>> dfe851c (Fixed segfault on linux with large custom scheme data.)
8
3
namespace Nui ::Impl::Linux
9
4
{
10
5
struct AsyncResponse
11
6
{
12
7
GObjectReference<GInputStream> stream;
13
8
GObjectReference<WebKitURISchemeResponse> response;
14
9
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.)
24
10
};
25
11
26
12
struct SchemeContext
@@ -200,17 +186,7 @@ extern "C" {
200
186
201
187
void uriSchemeDestroyNotify (void * userData)
202
188
{
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
- =======
212
189
// Useless, because called when everything is already destroyed
213
- >>>>>>> dfe851c (Fixed segfault on linux with large custom scheme data.)
214
190
}
215
191
}
216
192
You can’t perform that action at this time.
0 commit comments