delay init
This commit is contained in:
parent
734680e5ac
commit
3c990a8508
|
@ -945,8 +945,14 @@ static gboolean reqcb (WebKitWebPage *web_page,
|
||||||
char *result;
|
char *result;
|
||||||
if (initt)
|
if (initt)
|
||||||
{
|
{
|
||||||
g_thread_join(initt);
|
SoupMessageHeaders *head = webkit_uri_request_get_http_headers(request);
|
||||||
initt = NULL;
|
if (head)
|
||||||
|
{
|
||||||
|
g_thread_join(initt);
|
||||||
|
initt = NULL;
|
||||||
|
}
|
||||||
|
else //no head is local data. so haven't to block
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
result = ephy_uri_tester_rewrite_uri (uri_tester,
|
result = ephy_uri_tester_rewrite_uri (uri_tester,
|
||||||
modified_uri ? modified_uri : request_uri,
|
modified_uri ? modified_uri : request_uri,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user