| Summary: | Web Inspector: Auto-attach fails after r179562, initialization too late after dispatch | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
| Component: | Web Inspector | Assignee: | Joseph Pecoraro <joepeck> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, ggaren, graouts, joepeck, jonowells, mattbaker, msaboff, nvasilyev, timothy, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
Joseph Pecoraro
2015-04-13 15:27:58 PDT
Created attachment 250679 [details]
[PATCH] Proposed Fix
Comment on attachment 250679 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=250679&action=review > Source/JavaScriptCore/inspector/remote/RemoteInspector.mm:87 > - dispatch_async(dispatch_get_main_queue(), ^{ > + dispatch_block_t initialize = ^{ One could argue that we should just change the dispatch_async to be a dispatch_sync. I'm going to cq- while I think about that. > One could argue that we should just change the dispatch_async to be a
> dispatch_sync. I'm going to cq- while I think about that.
I couldn't reproduce the issue I was thinking with background queues, so I'm going to keep this dispatch_async in the non-main thread case.
|