Changeset 142009 in webkit
- Timestamp:
- Feb 6, 2013 10:54:06 AM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r142002 r142009 1 2013-02-06 Sudarsana Nagineni <sudarsana.nagineni@intel.com> 2 3 [EFL][WK2] Assertion failure on MiniBrowser exit 4 https://bugs.webkit.org/show_bug.cgi?id=108932 5 6 Reviewed by Anders Carlsson. 7 8 WorkQueue is now refcounted after r141497, so increase ref 9 count when a new job is scheduled and unref it when it finishes. 10 11 * Platform/efl/WorkQueueEfl.cpp: 12 (WorkQueue::performWork): 13 (WorkQueue::performTimerWork): 14 (WorkQueue::dispatch): 15 (WorkQueue::dispatchAfterDelay): 16 1 17 2013-02-06 Simon Hausmann <simon.hausmann@digia.com>, Zoltan Arvai <zarvai@inf.u-szeged.hu> 2 18 -
trunk/Source/WebKit2/Platform/efl/WorkQueueEfl.cpp
r133307 r142009 80 80 } 81 81 82 for (size_t i = 0; i < workItemQueue.size(); ++i) 82 for (size_t i = 0; i < workItemQueue.size(); ++i) { 83 83 workItemQueue[i](); 84 deref(); 85 } 84 86 } 85 87 } … … 163 165 // If a timer work item expired, dispatch the function of the work item. 164 166 timerWorkItems[i]->dispatch(); 167 deref(); 165 168 } 166 169 } … … 211 214 void WorkQueue::dispatch(const Function<void()>& function) 212 215 { 216 ref(); 217 213 218 { 214 219 MutexLocker locker(m_workItemQueueLock); … … 228 233 return; 229 234 235 ref(); 230 236 insertTimerWorkItem(timerWorkItem.release()); 231 237 sendMessageToThread(wakupThreadMessage);
Note: See TracChangeset
for help on using the changeset viewer.