Changeset 140445 in webkit
- Timestamp:
- Jan 22, 2013 11:24:58 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r140443 r140445 1 2013-01-22 Sergio Villar Senin <svillar@igalia.com> 2 3 [Soup] Random thread crashes 4 https://bugs.webkit.org/show_bug.cgi?id=107439 5 6 Reviewed by Martin Robinson. 7 8 Process all pending requests in the inner GMainContext created to 9 perform synchronous requests before restoring the thread default. No 10 new tests required, already covered by network tests. 11 12 * platform/network/soup/ResourceHandleSoup.cpp: 13 (WebCore::WebCoreSynchronousLoader::~WebCoreSynchronousLoader): 14 1 15 2013-01-22 Christophe Dumez <christophe.dumez@intel.com> 2 16 -
trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp
r140425 r140445 118 118 { 119 119 adjustMaxConnections(-1); 120 g_main_context_pop_thread_default(g_main_context_get_thread_default()); 120 121 GMainContext* context = g_main_context_get_thread_default(); 122 while (g_main_context_pending(context)) 123 g_main_context_iteration(context, FALSE); 124 125 g_main_context_pop_thread_default(context); 121 126 loadingSynchronousRequest = false; 122 127 }
Note: See TracChangeset
for help on using the changeset viewer.