Changeset 140481 in webkit
- Timestamp:
- Jan 22, 2013, 3:36:58 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r140479 r140481 1 2013-01-22 Alexey Proskuryakov <ap@apple.com> 2 3 [WK2] WebProcessService is not terminated when page is closed 4 https://bugs.webkit.org/show_bug.cgi?id=107595 5 6 Reviewed by Anders Carlsson. 7 8 * platform/mac/RunLoopMac.mm: (WebCore::RunLoop::stop): Allow stopping XPC service 9 run loop. Also, harmonized NSApp vs. [NSApplication sharedApplication] usage. 10 1 11 2013-01-22 Ojan Vafai <ojan@chromium.org> 2 12 -
trunk/Source/WebCore/platform/mac/RunLoopMac.mm
r139985 r140481 53 53 { 54 54 ASSERT(m_runLoop == CFRunLoopGetCurrent()); 55 56 if (m_runLoop == main()->m_runLoop && m_nestingLevel == 1 && s_useApplicationRunLoopOnMainRunLoop) { 57 [[NSApplication sharedApplication] stop:nil]; 55 56 // Nesting level can be 0 if the run loop is started externally (such as the case for XPC services). 57 if (m_runLoop == main()->m_runLoop && m_nestingLevel <= 1 && s_useApplicationRunLoopOnMainRunLoop) { 58 ASSERT([NSApp isRunning]); 59 [NSApp stop:nil]; 58 60 NSEvent *event = [NSEvent otherEventWithType:NSApplicationDefined 59 61 location:NSMakePoint(0, 0)
Note:
See TracChangeset
for help on using the changeset viewer.