{"action":"closed","number":41,"pull_request":{"url":"https://api.github.com/repos/146BC/StyleKit/pulls/41","id":112056209,"html_url":"https://github.com/146BC/StyleKit/pull/41","diff_url":"https://github.com/146BC/StyleKit/pull/41.diff","patch_url":"https://github.com/146BC/StyleKit/pull/41.patch","issue_url":"https://api.github.com/repos/146BC/StyleKit/issues/41","number":41,"state":"closed","locked":false,"title":"Remove logQueue unwrap forcing","user":{"login":"phimage","id":8875768,"avatar_url":"https://avatars2.githubusercontent.com/u/8875768?v=3","gravatar_id":"","url":"https://api.github.com/users/phimage","html_url":"https://github.com/phimage","followers_url":"https://api.github.com/users/phimage/followers","following_url":"https://api.github.com/users/phimage/following{/other_user}","gists_url":"https://api.github.com/users/phimage/gists{/gist_id}","starred_url":"https://api.github.com/users/phimage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phimage/subscriptions","organizations_url":"https://api.github.com/users/phimage/orgs","repos_url":"https://api.github.com/users/phimage/repos","events_url":"https://api.github.com/users/phimage/events{/privacy}","received_events_url":"https://api.github.com/users/phimage/received_events","type":"User","site_admin":false},"body":"Application could crash if calling `apply()` in background queue\r\n\r\nI try to do some live reloading  and have crash if I use some other dispatch queue\r\n\r\nHere my code in your demo app delegate without file monitoring, just a scheduled style reload\r\n(monitoring could done with dispatch source, I use swift framework FileKit or KZFileWatchers\r\nor http://johnholdsworth.com/injection.html)\r\n```swift\r\n if Platform.isSimulator {\r\n      var curFile = URL(fileURLWithPath: #file)\r\n      curFile.deleteLastPathComponent()\r\n     curFile.appendPathComponent(\"Style/style.json\")\r\n                \r\n     DispatchQueue.main.after(20) { // see alamofire for extension\r\n         let styleKit = StyleKit(fileUrl: curFile, logLevel: .debug)\r\n         styleKit?.apply()\r\n    }\r\n}\r\n```","created_at":"2017-03-22T16:40:39Z","updated_at":"2017-03-27T22:23:34Z","closed_at":"2017-03-27T22:23:34Z","merged_at":"2017-03-27T22:23:34Z","merge_commit_sha":"264a520420108b4cb4d416a7985dd8048ebf312f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/146BC/StyleKit/pulls/41/commits","review_comments_url":"https://api.github.com/repos/146BC/StyleKit/pulls/41/comments","review_comment_url":"https://api.github.com/repos/146BC/StyleKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/146BC/StyleKit/issues/41/comments","statuses_url":"https://api.github.com/repos/146BC/StyleKit/statuses/50898f6256971f35d5fc02bb0a5631ad33ef46ad","head":{"label":"phimage:patch-1","ref":"patch-1","sha":"50898f6256971f35d5fc02bb0a5631ad33ef46ad","user":{"login":"phimage","id":8875768,"avatar_url":"https://avatars2.githubusercontent.com/u/8875768?v=3","gravatar_id":"","url":"https://api.github.com/users/phimage","html_url":"https://github.com/phimage","followers_url":"https://api.github.com/users/phimage/followers","following_url":"https://api.github.com/users/phimage/following{/other_user}","gists_url":"https://api.github.com/users/phimage/gists{/gist_id}","starred_url":"https://api.github.com/users/phimage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phimage/subscriptions","organizations_url":"https://api.github.com/users/phimage/orgs","repos_url":"https://api.github.com/users/phimage/repos","events_url":"https://api.github.com/users/phimage/events{/privacy}","received_events_url":"https://api.github.com/users/phimage/received_events","type":"User","site_admin":false},"repo":{"id":85851580,"name":"StyleKit","full_name":"phimage/StyleKit","owner":{"login":"phimage","id":8875768,"avatar_url":"https://avatars2.githubusercontent.com/u/8875768?v=3","gravatar_id":"","url":"https://api.github.com/users/phimage","html_url":"https://github.com/phimage","followers_url":"https://api.github.com/users/phimage/followers","following_url":"https://api.github.com/users/phimage/following{/other_user}","gists_url":"https://api.github.com/users/phimage/gists{/gist_id}","starred_url":"https://api.github.com/users/phimage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phimage/subscriptions","organizations_url":"https://api.github.com/users/phimage/orgs","repos_url":"https://api.github.com/users/phimage/repos","events_url":"https://api.github.com/users/phimage/events{/privacy}","received_events_url":"https://api.github.com/users/phimage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phimage/StyleKit","description":"A powerful & easy to use styling framework written in Swift","fork":true,"url":"https://api.github.com/repos/phimage/StyleKit","forks_url":"https://api.github.com/repos/phimage/StyleKit/forks","keys_url":"https://api.github.com/repos/phimage/StyleKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phimage/StyleKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phimage/StyleKit/teams","hooks_url":"https://api.github.com/repos/phimage/StyleKit/hooks","issue_events_url":"https://api.github.com/repos/phimage/StyleKit/issues/events{/number}","events_url":"https://api.github.com/repos/phimage/StyleKit/events","assignees_url":"https://api.github.com/repos/phimage/StyleKit/assignees{/user}","branches_url":"https://api.github.com/repos/phimage/StyleKit/branches{/branch}","tags_url":"https://api.github.com/repos/phimage/StyleKit/tags","blobs_url":"https://api.github.com/repos/phimage/StyleKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phimage/StyleKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phimage/StyleKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/phimage/StyleKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phimage/StyleKit/statuses/{sha}","languages_url":"https://api.github.com/repos/phimage/StyleKit/languages","stargazers_url":"https://api.github.com/repos/phimage/StyleKit/stargazers","contributors_url":"https://api.github.com/repos/phimage/StyleKit/contributors","subscribers_url":"https://api.github.com/repos/phimage/StyleKit/subscribers","subscription_url":"https://api.github.com/repos/phimage/StyleKit/subscription","commits_url":"https://api.github.com/repos/phimage/StyleKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/phimage/StyleKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/phimage/StyleKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/phimage/StyleKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/phimage/StyleKit/contents/{+path}","compare_url":"https://api.github.com/repos/phimage/StyleKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phimage/StyleKit/merges","archive_url":"https://api.github.com/repos/phimage/StyleKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phimage/StyleKit/downloads","issues_url":"https://api.github.com/repos/phimage/StyleKit/issues{/number}","pulls_url":"https://api.github.com/repos/phimage/StyleKit/pulls{/number}","milestones_url":"https://api.github.com/repos/phimage/StyleKit/milestones{/number}","notifications_url":"https://api.github.com/repos/phimage/StyleKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phimage/StyleKit/labels{/name}","releases_url":"https://api.github.com/repos/phimage/StyleKit/releases{/id}","deployments_url":"https://api.github.com/repos/phimage/StyleKit/deployments","created_at":"2017-03-22T16:32:02Z","updated_at":"2017-03-22T16:32:04Z","pushed_at":"2017-03-22T16:35:32Z","git_url":"git://github.com/phimage/StyleKit.git","ssh_url":"git@github.com:phimage/StyleKit.git","clone_url":"https://github.com/phimage/StyleKit.git","svn_url":"https://github.com/phimage/StyleKit","homepage":"","size":108,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"146BC:develop","ref":"develop","sha":"0bb899c7bf757c2fef00a751e4a94dc51b3d6db4","user":{"login":"146BC","id":17726261,"avatar_url":"https://avatars3.githubusercontent.com/u/17726261?v=3","gravatar_id":"","url":"https://api.github.com/users/146BC","html_url":"https://github.com/146BC","followers_url":"https://api.github.com/users/146BC/followers","following_url":"https://api.github.com/users/146BC/following{/other_user}","gists_url":"https://api.github.com/users/146BC/gists{/gist_id}","starred_url":"https://api.github.com/users/146BC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/146BC/subscriptions","organizations_url":"https://api.github.com/users/146BC/orgs","repos_url":"https://api.github.com/users/146BC/repos","events_url":"https://api.github.com/users/146BC/events{/privacy}","received_events_url":"https://api.github.com/users/146BC/received_events","type":"Organization","site_admin":false},"repo":{"id":65246886,"name":"StyleKit","full_name":"146BC/StyleKit","owner":{"login":"146BC","id":17726261,"avatar_url":"https://avatars3.githubusercontent.com/u/17726261?v=3","gravatar_id":"","url":"https://api.github.com/users/146BC","html_url":"https://github.com/146BC","followers_url":"https://api.github.com/users/146BC/followers","following_url":"https://api.github.com/users/146BC/following{/other_user}","gists_url":"https://api.github.com/users/146BC/gists{/gist_id}","starred_url":"https://api.github.com/users/146BC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/146BC/subscriptions","organizations_url":"https://api.github.com/users/146BC/orgs","repos_url":"https://api.github.com/users/146BC/repos","events_url":"https://api.github.com/users/146BC/events{/privacy}","received_events_url":"https://api.github.com/users/146BC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/146BC/StyleKit","description":"A powerful & easy to use styling framework written in Swift","fork":false,"url":"https://api.github.com/repos/146BC/StyleKit","forks_url":"https://api.github.com/repos/146BC/StyleKit/forks","keys_url":"https://api.github.com/repos/146BC/StyleKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/146BC/StyleKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/146BC/StyleKit/teams","hooks_url":"https://api.github.com/repos/146BC/StyleKit/hooks","issue_events_url":"https://api.github.com/repos/146BC/StyleKit/issues/events{/number}","events_url":"https://api.github.com/repos/146BC/StyleKit/events","assignees_url":"https://api.github.com/repos/146BC/StyleKit/assignees{/user}","branches_url":"https://api.github.com/repos/146BC/StyleKit/branches{/branch}","tags_url":"https://api.github.com/repos/146BC/StyleKit/tags","blobs_url":"https://api.github.com/repos/146BC/StyleKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/146BC/StyleKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/146BC/StyleKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/146BC/StyleKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/146BC/StyleKit/statuses/{sha}","languages_url":"https://api.github.com/repos/146BC/StyleKit/languages","stargazers_url":"https://api.github.com/repos/146BC/StyleKit/stargazers","contributors_url":"https://api.github.com/repos/146BC/StyleKit/contributors","subscribers_url":"https://api.github.com/repos/146BC/StyleKit/subscribers","subscription_url":"https://api.github.com/repos/146BC/StyleKit/subscription","commits_url":"https://api.github.com/repos/146BC/StyleKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/146BC/StyleKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/146BC/StyleKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/146BC/StyleKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/146BC/StyleKit/contents/{+path}","compare_url":"https://api.github.com/repos/146BC/StyleKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/146BC/StyleKit/merges","archive_url":"https://api.github.com/repos/146BC/StyleKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/146BC/StyleKit/downloads","issues_url":"https://api.github.com/repos/146BC/StyleKit/issues{/number}","pulls_url":"https://api.github.com/repos/146BC/StyleKit/pulls{/number}","milestones_url":"https://api.github.com/repos/146BC/StyleKit/milestones{/number}","notifications_url":"https://api.github.com/repos/146BC/StyleKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/146BC/StyleKit/labels{/name}","releases_url":"https://api.github.com/repos/146BC/StyleKit/releases{/id}","deployments_url":"https://api.github.com/repos/146BC/StyleKit/deployments","created_at":"2016-08-08T23:27:51Z","updated_at":"2017-03-22T03:02:39Z","pushed_at":"2017-03-27T22:23:34Z","git_url":"git://github.com/146BC/StyleKit.git","ssh_url":"git@github.com:146BC/StyleKit.git","clone_url":"https://github.com/146BC/StyleKit.git","svn_url":"https://github.com/146BC/StyleKit","homepage":"","size":134,"stargazers_count":1087,"watchers_count":1087,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":36,"mirror_url":null,"open_issues_count":7,"forks":36,"open_issues":7,"watchers":1087,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/146BC/StyleKit/pulls/41"},"html":{"href":"https://github.com/146BC/StyleKit/pull/41"},"issue":{"href":"https://api.github.com/repos/146BC/StyleKit/issues/41"},"comments":{"href":"https://api.github.com/repos/146BC/StyleKit/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/146BC/StyleKit/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/146BC/StyleKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/146BC/StyleKit/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/146BC/StyleKit/statuses/50898f6256971f35d5fc02bb0a5631ad33ef46ad"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"BernardGatt","id":346012,"avatar_url":"https://avatars1.githubusercontent.com/u/346012?v=3","gravatar_id":"","url":"https://api.github.com/users/BernardGatt","html_url":"https://github.com/BernardGatt","followers_url":"https://api.github.com/users/BernardGatt/followers","following_url":"https://api.github.com/users/BernardGatt/following{/other_user}","gists_url":"https://api.github.com/users/BernardGatt/gists{/gist_id}","starred_url":"https://api.github.com/users/BernardGatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BernardGatt/subscriptions","organizations_url":"https://api.github.com/users/BernardGatt/orgs","repos_url":"https://api.github.com/users/BernardGatt/repos","events_url":"https://api.github.com/users/BernardGatt/events{/privacy}","received_events_url":"https://api.github.com/users/BernardGatt/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"BernardGatt"}}