{"action":"closed","issue":{"url":"https://api.github.com/repos/SDWebImage/SDWebImage/issues/2539","repository_url":"https://api.github.com/repos/SDWebImage/SDWebImage","labels_url":"https://api.github.com/repos/SDWebImage/SDWebImage/issues/2539/labels{/name}","comments_url":"https://api.github.com/repos/SDWebImage/SDWebImage/issues/2539/comments","events_url":"https://api.github.com/repos/SDWebImage/SDWebImage/issues/2539/events","html_url":"https://github.com/SDWebImage/SDWebImage/issues/2539","id":383396871,"node_id":"MDU6SXNzdWUzODMzOTY4NzE=","number":2539,"title":"want to loadimage in asyn ","user":{"login":"sunforcode","id":16320785,"node_id":"MDQ6VXNlcjE2MzIwNzg1","avatar_url":"https://avatars2.githubusercontent.com/u/16320785?v=4","gravatar_id":"","url":"https://api.github.com/users/sunforcode","html_url":"https://github.com/sunforcode","followers_url":"https://api.github.com/users/sunforcode/followers","following_url":"https://api.github.com/users/sunforcode/following{/other_user}","gists_url":"https://api.github.com/users/sunforcode/gists{/gist_id}","starred_url":"https://api.github.com/users/sunforcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunforcode/subscriptions","organizations_url":"https://api.github.com/users/sunforcode/orgs","repos_url":"https://api.github.com/users/sunforcode/repos","events_url":"https://api.github.com/users/sunforcode/events{/privacy}","received_events_url":"https://api.github.com/users/sunforcode/received_events","type":"User","site_admin":false},"labels":[{"id":802905570,"node_id":"MDU6TGFiZWw4MDI5MDU1NzA=","url":"https://api.github.com/repos/SDWebImage/SDWebImage/labels/usage","name":"usage","color":"f0c2fc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-22T06:29:08Z","updated_at":"2018-11-23T02:38:51Z","closed_at":"2018-11-23T02:38:51Z","author_association":"NONE","body":"### New Issue Checklist\r\n\r\n* [ ] I have read and understood the [CONTRIBUTING guide](https://github.com/rs/SDWebImage/blob/master/.github/CONTRIBUTING.md)\r\n* [ ] I have read the [Documentation](http://cocoadocs.org/docsets/SDWebImage/)\r\n* [ ] I have searched for a similar issue in the [project](https://github.com/rs/SDWebImage/issues) and found none\r\n\r\n### Issue Info\r\n\r\n Info                    | Value                               |\r\n-------------------------|-------------------------------------|\r\n Platform Name           | e.g. ios / macos / tvos / watchos\r\n Platform Version        | e.g. 11.0 / 10.13.0 / 11.0 / 4.0\r\n SDWebImage Version      | e.g. 4.2.0 / 4.1.0\r\n Integration Method      | e.g. carthage / cocoapods / manually\r\n Xcode Version           | e.g. Xcode 9 / Xcode 8\r\n Repro rate              | e.g. all the time (100%) / sometimes x% / only once\r\n Repro with our demo prj | e.g. does it happen with our demo project?\r\n Demo project link       | e.g. link to a demo project that highlights the issue\r\n\r\n### Issue Description and Steps\r\n\r\nPlease fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.\r\n\r\nI want to download an image , i use   \r\n```\r\n [[SDWebImageManager sharedManager]loadImageWithURL:[NSURL URLWithString:adModel.imageUrl] options:SDWebImageRefreshCached progress:nil completed:^(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, SDImageCacheType cacheType, BOOL finished, NSURL * _Nullable imageURL) {\r\n            dispatch_semaphore_signal(self.semaphore);`  \r\n        }];\r\n dispatch_semaphore_wait(self.semaphore, DISPATCH_TIME_FOREVER);,\r\n````\r\n\r\nit cause death lock ,i want to konw how to download image and not to go back mainThread auto"}}
{"actor":{"display_login":"zhongwuzw"}}