Changeset 64628 in webkit


Ignore:
Timestamp:
Aug 3, 2010 10:07:29 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-08-03 Balazs Kelemen <kb@inf.u-szeged.hu>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Close the WebProcess

https://bugs.webkit.org/show_bug.cgi?id=41690

  • Platform/CoreIPC/qt/ConnectionQt.cpp: (CoreIPC::Connection::open): Registered connectionDidClose to be called when the client disconnected.
  • Platform/qt/RunLoopQt.cpp: (RunLoop::stop): Implemented by calling QCoreApplication::exit.
Location:
trunk/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit2/ChangeLog

    r64603 r64628  
     12010-08-03  Balazs Kelemen  <kb@inf.u-szeged.hu>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] Close the WebProcess
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=41690
     8
     9        * Platform/CoreIPC/qt/ConnectionQt.cpp:
     10        (CoreIPC::Connection::open): Registered connectionDidClose to be called when the client disconnected.
     11        * Platform/qt/RunLoopQt.cpp:
     12        (RunLoop::stop): Implemented by calling QCoreApplication::exit.
     13
    1142010-08-03  Jon Honeycutt  <jhoneycutt@apple.com>
    215
  • trunk/WebKit2/Platform/CoreIPC/qt/ConnectionQt.cpp

    r64223 r64628  
    100100        m_connectionQueue.moveSocketToWorkThread(m_socket);
    101101        m_connectionQueue.connectSignal(m_socket, SIGNAL(readyRead()), WorkItem::create(this, &Connection::readyReadHandler));
     102        m_connectionQueue.connectSignal(m_socket, SIGNAL(disconnected()), WorkItem::create(this, &Connection::connectionDidClose));
    102103        m_isConnected = m_socket->waitForConnected();
    103104    }
  • trunk/WebKit2/Platform/qt/RunLoopQt.cpp

    r62253 r64628  
    6767void RunLoop::stop()
    6868{
    69     // implement
     69    QCoreApplication::exit();
    7070}
    7171
Note: See TracChangeset for help on using the changeset viewer.