Changeset 63855 in webkit
- Timestamp:
- Jul 21, 2010 1:54:30 PM (14 years ago)
- Location:
- trunk/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit2/ChangeLog
r63852 r63855 1 2010-07-21 Adam Roben <aroben@apple.com> 2 3 Handle broken pipes in more places in CoreIPC 4 5 Fixes <http://webkit.org/b/42784> Assertion failure in 6 Connection::readEventHandler when WebKitTestRunner exits 7 8 Reviewed by Anders Carlsson. 9 10 * Platform/CoreIPC/win/ConnectionWin.cpp: 11 (CoreIPC::Connection::readEventHandler): Check for a broken pipe 12 whenever we call ::PeekNamedPipe. 13 1 14 2010-07-21 Adam Roben <aroben@apple.com> 2 15 -
trunk/WebKit2/Platform/CoreIPC/win/ConnectionWin.cpp
r63852 r63855 125 125 if (!::PeekNamedPipe(m_connectionPipe, 0, 0, 0, 0, &bytesToRead)) { 126 126 DWORD error = ::GetLastError(); 127 if (error == ERROR_BROKEN_PIPE) { 128 connectionDidClose(); 129 return; 130 } 127 131 ASSERT_NOT_REACHED(); 128 132 return; … … 175 179 if (!::PeekNamedPipe(m_connectionPipe, 0, 0, 0, 0, &bytesToRead)) { 176 180 DWORD error = ::GetLastError(); 181 if (error == ERROR_BROKEN_PIPE) { 182 connectionDidClose(); 183 return; 184 } 177 185 ASSERT_NOT_REACHED(); 178 186 }
Note: See TracChangeset
for help on using the changeset viewer.