Changeset 51790 in webkit
- Timestamp:
- Dec 7, 2009 1:05:39 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r51789 r51790 1 2009-12-07 Alexey Proskuryakov <ap@apple.com> 2 3 Reviewed by Nikolas Zimmermann. 4 5 https://bugs.webkit.org/show_bug.cgi?id=32226 6 Random crashes in WebSocket tests on Leopard Debug builbot 7 8 * platform/network/SocketStreamHandleBase.cpp: (WebCore::SocketStreamHandleBase::close): 9 Make sure the object still exists when setting m_state. 10 1 11 2009-12-07 Shiki Okasaka <shiki@google.com> 2 12 -
trunk/WebCore/platform/network/SocketStreamHandleBase.cpp
r47788 r51790 32 32 #include "SocketStreamHandleBase.h" 33 33 34 #include "SocketStreamHandle.h" 34 35 #include "SocketStreamHandleClient.h" 35 36 … … 78 79 void SocketStreamHandleBase::close() 79 80 { 81 RefPtr<SocketStreamHandle> protect(static_cast<SocketStreamHandle*>(this)); // platformClose calls the client, which may make the handle get deallocated immediately. 82 80 83 platformClose(); 81 84 m_state = Closed;
Note: See TracChangeset
for help on using the changeset viewer.