Changeset 231408 in webkit


Ignore:
Timestamp:
May 7, 2018, 12:46:37 AM (7 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r230481 - [GTK][WPE] Race condition when destroying webprocesses
https://bugs.webkit.org/show_bug.cgi?id=184445

Reviewed by Carlos Garcia Campos.

Ensure that the WebProcess is properly closing its pages when it's exiting because
the UIProcess has invalidated the IPC connection.

  • WebProcess/WebProcess.cpp:

(WebKit::WebProcess::didClose):

Location:
releases/WebKitGTK/webkit-2.20/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.20/Source/WebKit/ChangeLog

    r231406 r231408  
     12018-04-10  Miguel Gomez  <magomez@igalia.com>
     2
     3        [GTK][WPE] Race condition when destroying webprocesses
     4        https://bugs.webkit.org/show_bug.cgi?id=184445
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Ensure that the WebProcess is properly closing its pages when it's exiting because
     9        the UIProcess has invalidated the IPC connection.
     10
     11        * WebProcess/WebProcess.cpp:
     12        (WebKit::WebProcess::didClose):
     13
    1142018-05-03  Carlos Garcia Campos  <cgarcia@igalia.com>
    215
  • releases/WebKitGTK/webkit-2.20/Source/WebKit/WebProcess/WebProcess.cpp

    r231406 r231408  
    665665void WebProcess::didClose(IPC::Connection&)
    666666{
    667 #ifndef NDEBUG
     667#if !defined(NDEBUG) || PLATFORM(GTK) || PLATFORM(WPE)
    668668    for (auto& page : copyToVector(m_pageMap.values()))
    669669        page->close();
    670 
     670#endif
     671
     672#ifndef NDEBUG
    671673    GCController::singleton().garbageCollectSoon();
    672674    FontCache::singleton().invalidate();
Note: See TracChangeset for help on using the changeset viewer.