Changeset 279025 in webkit
- Timestamp:
- Jun 17, 2021 5:00:29 PM (3 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r279007 r279025 1 2021-06-17 Alex Christensen <achristensen@webkit.org> 2 3 Add assertion in RunLoop::dispatch 4 https://bugs.webkit.org/show_bug.cgi?id=227154 5 <rdar://79243769> 6 7 Reviewed by Geoff Garen. 8 9 This should help us find what is scheduling null functions. 10 11 * wtf/RunLoop.cpp: 12 (WTF::RunLoop::dispatch): 13 (WTF::RunLoop::dispatchAfter): 14 1 15 2021-06-17 Ben Nham <nham@apple.com> 2 16 -
trunk/Source/WTF/wtf/RunLoop.cpp
r277847 r279025 142 142 } 143 143 144 void RunLoop::dispatch(Function<void 144 void RunLoop::dispatch(Function<void()>&& function) 145 145 { 146 RELEASE_ASSERT(function); 146 147 bool needsWakeup = false; 147 148 … … 158 159 void RunLoop::dispatchAfter(Seconds delay, Function<void()>&& function) 159 160 { 161 RELEASE_ASSERT(function); 160 162 auto timer = new DispatchTimer(*this); 161 163 timer->setFunction([timer, function = WTFMove(function)] {
Note: See TracChangeset
for help on using the changeset viewer.