| Summary: | StreamConnectionWorkQueue::processStreams() has a incorrect protection ref | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> | ||||||
| Component: | WebKit2 | Assignee: | Kimmo Kinnunen <kkinnunen> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | kkinnunen, webkit-bug-importer, wenson_hsieh | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Local Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Kimmo Kinnunen
2021-10-21 01:40:33 PDT
Created attachment 441997 [details]
Patch
Comment on attachment 441997 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=441997&action=review > Source/WebKit/ChangeLog:12 > + task, and since `stop()` waits until queue has executed the In that case, I think we should consider renaming `stop()` to `stopAndWaitForTasksToComplete()`, to make it clear that it must always block on the work queue thread. Created attachment 442134 [details]
Patch for landing
(In reply to Wenson Hsieh from comment #2) > Comment on attachment 441997 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=441997&action=review > > > Source/WebKit/ChangeLog:12 > > + task, and since `stop()` waits until queue has executed the > > In that case, I think we should consider renaming `stop()` to > `stopAndWaitForTasksToComplete()`, to make it clear that it must always > block on the work queue thread. Thanks, added it as stopAndWaitForCompletion to use same naming as Thread Committed r284681 (243401@main): <https://commits.webkit.org/243401@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442134 [details]. |