Summary: | Hop to the main thread when doing logging in RealtimeIncomingVideoSourceCocoa | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | youenn fablet <youennf> | ||||
Component: | WebRTC | Assignee: | youenn fablet <youennf> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, darin, eric.carlson, jer.noble, webkit-bug-importer, youennf | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
youenn fablet
2019-07-17 09:03:10 PDT
Created attachment 374298 [details]
Patch
Comment on attachment 374298 [details]
Patch
This looks like a fine way to fix this case. Any ideas on how to notice in the future when we accidentally log on non-main threads?
Also, is there an easy way to make Logger itself handle this so we don’t push the responsibility onto all the callers? Yes, I think some refactoring in LoggerHelper is probably needed to make it stronger/easier to use. Comment on attachment 374298 [details] Patch Clearing flags on attachment: 374298 Committed r247525: <https://trac.webkit.org/changeset/247525> All reviewed patches have been landed. Closing bug. |