Discovering sharing services isn't a particularly cheap operation, requiring disk access and even IPC. Since the discovery is already asynchronous and we've been told the API we're using can be safely used from a background thread, we should move it off the main thread.
Created attachment 231543 [details]
Comment on attachment 231543 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=231543&action=review
> + NSLog(@"+ServicesController::refreshExistingServices");
> + NSLog(@"-ServicesController::refreshExistingServices");
Landed in <http://trac.webkit.org/changeset/168918>.