{"action":"closed","number":38,"pull_request":{"url":"https://api.github.com/repos/karelia/BSManagedDocument/pulls/38","id":31295339,"html_url":"https://github.com/karelia/BSManagedDocument/pull/38","diff_url":"https://github.com/karelia/BSManagedDocument/pull/38.diff","patch_url":"https://github.com/karelia/BSManagedDocument/pull/38.patch","issue_url":"https://api.github.com/repos/karelia/BSManagedDocument/issues/38","number":38,"state":"closed","locked":false,"title":"Ensure that the persistent store is added in the appropriate dispatch queue to avoid deadlocks.","user":{"login":"sbooth","id":9965,"avatar_url":"https://avatars.githubusercontent.com/u/9965?v=3","gravatar_id":"","url":"https://api.github.com/users/sbooth","html_url":"https://github.com/sbooth","followers_url":"https://api.github.com/users/sbooth/followers","following_url":"https://api.github.com/users/sbooth/following{/other_user}","gists_url":"https://api.github.com/users/sbooth/gists{/gist_id}","starred_url":"https://api.github.com/users/sbooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbooth/subscriptions","organizations_url":"https://api.github.com/users/sbooth/orgs","repos_url":"https://api.github.com/users/sbooth/repos","events_url":"https://api.github.com/users/sbooth/events{/privacy}","received_events_url":"https://api.github.com/users/sbooth/received_events","type":"User","site_admin":false},"body":"...eue to avoid deadlocks.\r\n\r\nThis is necessary because adding a persistent store emits notifications that can result in bound controllers re-fetching their content in the notification thread, which isn't necessarily the main thread.  This may conflict with any user activity simultaneously occurring on the MOC.","created_at":"2015-03-16T23:37:49Z","updated_at":"2015-03-18T12:46:40Z","closed_at":"2015-03-18T12:46:40Z","merged_at":"2015-03-18T12:46:40Z","merge_commit_sha":"6fff718d5a1444cf3f651004a971b6c70d476b84","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/karelia/BSManagedDocument/pulls/38/commits","review_comments_url":"https://api.github.com/repos/karelia/BSManagedDocument/pulls/38/comments","review_comment_url":"https://api.github.com/repos/karelia/BSManagedDocument/pulls/comments{/number}","comments_url":"https://api.github.com/repos/karelia/BSManagedDocument/issues/38/comments","statuses_url":"https://api.github.com/repos/karelia/BSManagedDocument/statuses/684d13c6a20f0edb82f707b77343297ea726957a","head":{"label":"sbooth:nspersistentstorecoordinator-deadlock","ref":"nspersistentstorecoordinator-deadlock","sha":"684d13c6a20f0edb82f707b77343297ea726957a","user":{"login":"sbooth","id":9965,"avatar_url":"https://avatars.githubusercontent.com/u/9965?v=3","gravatar_id":"","url":"https://api.github.com/users/sbooth","html_url":"https://github.com/sbooth","followers_url":"https://api.github.com/users/sbooth/followers","following_url":"https://api.github.com/users/sbooth/following{/other_user}","gists_url":"https://api.github.com/users/sbooth/gists{/gist_id}","starred_url":"https://api.github.com/users/sbooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbooth/subscriptions","organizations_url":"https://api.github.com/users/sbooth/orgs","repos_url":"https://api.github.com/users/sbooth/repos","events_url":"https://api.github.com/users/sbooth/events{/privacy}","received_events_url":"https://api.github.com/users/sbooth/received_events","type":"User","site_admin":false},"repo":{"id":32359075,"name":"BSManagedDocument","full_name":"sbooth/BSManagedDocument","owner":{"login":"sbooth","id":9965,"avatar_url":"https://avatars.githubusercontent.com/u/9965?v=3","gravatar_id":"","url":"https://api.github.com/users/sbooth","html_url":"https://github.com/sbooth","followers_url":"https://api.github.com/users/sbooth/followers","following_url":"https://api.github.com/users/sbooth/following{/other_user}","gists_url":"https://api.github.com/users/sbooth/gists{/gist_id}","starred_url":"https://api.github.com/users/sbooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbooth/subscriptions","organizations_url":"https://api.github.com/users/sbooth/orgs","repos_url":"https://api.github.com/users/sbooth/repos","events_url":"https://api.github.com/users/sbooth/events{/privacy}","received_events_url":"https://api.github.com/users/sbooth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbooth/BSManagedDocument","description":"Brings UIManagedDocument's design to OS X","fork":true,"url":"https://api.github.com/repos/sbooth/BSManagedDocument","forks_url":"https://api.github.com/repos/sbooth/BSManagedDocument/forks","keys_url":"https://api.github.com/repos/sbooth/BSManagedDocument/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbooth/BSManagedDocument/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbooth/BSManagedDocument/teams","hooks_url":"https://api.github.com/repos/sbooth/BSManagedDocument/hooks","issue_events_url":"https://api.github.com/repos/sbooth/BSManagedDocument/issues/events{/number}","events_url":"https://api.github.com/repos/sbooth/BSManagedDocument/events","assignees_url":"https://api.github.com/repos/sbooth/BSManagedDocument/assignees{/user}","branches_url":"https://api.github.com/repos/sbooth/BSManagedDocument/branches{/branch}","tags_url":"https://api.github.com/repos/sbooth/BSManagedDocument/tags","blobs_url":"https://api.github.com/repos/sbooth/BSManagedDocument/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbooth/BSManagedDocument/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbooth/BSManagedDocument/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbooth/BSManagedDocument/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbooth/BSManagedDocument/statuses/{sha}","languages_url":"https://api.github.com/repos/sbooth/BSManagedDocument/languages","stargazers_url":"https://api.github.com/repos/sbooth/BSManagedDocument/stargazers","contributors_url":"https://api.github.com/repos/sbooth/BSManagedDocument/contributors","subscribers_url":"https://api.github.com/repos/sbooth/BSManagedDocument/subscribers","subscription_url":"https://api.github.com/repos/sbooth/BSManagedDocument/subscription","commits_url":"https://api.github.com/repos/sbooth/BSManagedDocument/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbooth/BSManagedDocument/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbooth/BSManagedDocument/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbooth/BSManagedDocument/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbooth/BSManagedDocument/contents/{+path}","compare_url":"https://api.github.com/repos/sbooth/BSManagedDocument/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbooth/BSManagedDocument/merges","archive_url":"https://api.github.com/repos/sbooth/BSManagedDocument/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbooth/BSManagedDocument/downloads","issues_url":"https://api.github.com/repos/sbooth/BSManagedDocument/issues{/number}","pulls_url":"https://api.github.com/repos/sbooth/BSManagedDocument/pulls{/number}","milestones_url":"https://api.github.com/repos/sbooth/BSManagedDocument/milestones{/number}","notifications_url":"https://api.github.com/repos/sbooth/BSManagedDocument/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbooth/BSManagedDocument/labels{/name}","releases_url":"https://api.github.com/repos/sbooth/BSManagedDocument/releases{/id}","created_at":"2015-03-16T23:24:20Z","updated_at":"2015-03-16T23:24:21Z","pushed_at":"2015-03-16T23:36:14Z","git_url":"git://github.com/sbooth/BSManagedDocument.git","ssh_url":"git@github.com:sbooth/BSManagedDocument.git","clone_url":"https://github.com/sbooth/BSManagedDocument.git","svn_url":"https://github.com/sbooth/BSManagedDocument","homepage":"","size":314,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"v0.3.x"}},"base":{"label":"karelia:v0.3.x","ref":"v0.3.x","sha":"734111eb31192103fae583240967652e1d4b9f1d","user":{"login":"karelia","id":326675,"avatar_url":"https://avatars.githubusercontent.com/u/326675?v=3","gravatar_id":"","url":"https://api.github.com/users/karelia","html_url":"https://github.com/karelia","followers_url":"https://api.github.com/users/karelia/followers","following_url":"https://api.github.com/users/karelia/following{/other_user}","gists_url":"https://api.github.com/users/karelia/gists{/gist_id}","starred_url":"https://api.github.com/users/karelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelia/subscriptions","organizations_url":"https://api.github.com/users/karelia/orgs","repos_url":"https://api.github.com/users/karelia/repos","events_url":"https://api.github.com/users/karelia/events{/privacy}","received_events_url":"https://api.github.com/users/karelia/received_events","type":"Organization","site_admin":false},"repo":{"id":6505709,"name":"BSManagedDocument","full_name":"karelia/BSManagedDocument","owner":{"login":"karelia","id":326675,"avatar_url":"https://avatars.githubusercontent.com/u/326675?v=3","gravatar_id":"","url":"https://api.github.com/users/karelia","html_url":"https://github.com/karelia","followers_url":"https://api.github.com/users/karelia/followers","following_url":"https://api.github.com/users/karelia/following{/other_user}","gists_url":"https://api.github.com/users/karelia/gists{/gist_id}","starred_url":"https://api.github.com/users/karelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelia/subscriptions","organizations_url":"https://api.github.com/users/karelia/orgs","repos_url":"https://api.github.com/users/karelia/repos","events_url":"https://api.github.com/users/karelia/events{/privacy}","received_events_url":"https://api.github.com/users/karelia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/karelia/BSManagedDocument","description":"Brings UIManagedDocument's design to OS X","fork":false,"url":"https://api.github.com/repos/karelia/BSManagedDocument","forks_url":"https://api.github.com/repos/karelia/BSManagedDocument/forks","keys_url":"https://api.github.com/repos/karelia/BSManagedDocument/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karelia/BSManagedDocument/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karelia/BSManagedDocument/teams","hooks_url":"https://api.github.com/repos/karelia/BSManagedDocument/hooks","issue_events_url":"https://api.github.com/repos/karelia/BSManagedDocument/issues/events{/number}","events_url":"https://api.github.com/repos/karelia/BSManagedDocument/events","assignees_url":"https://api.github.com/repos/karelia/BSManagedDocument/assignees{/user}","branches_url":"https://api.github.com/repos/karelia/BSManagedDocument/branches{/branch}","tags_url":"https://api.github.com/repos/karelia/BSManagedDocument/tags","blobs_url":"https://api.github.com/repos/karelia/BSManagedDocument/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karelia/BSManagedDocument/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karelia/BSManagedDocument/git/refs{/sha}","trees_url":"https://api.github.com/repos/karelia/BSManagedDocument/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karelia/BSManagedDocument/statuses/{sha}","languages_url":"https://api.github.com/repos/karelia/BSManagedDocument/languages","stargazers_url":"https://api.github.com/repos/karelia/BSManagedDocument/stargazers","contributors_url":"https://api.github.com/repos/karelia/BSManagedDocument/contributors","subscribers_url":"https://api.github.com/repos/karelia/BSManagedDocument/subscribers","subscription_url":"https://api.github.com/repos/karelia/BSManagedDocument/subscription","commits_url":"https://api.github.com/repos/karelia/BSManagedDocument/commits{/sha}","git_commits_url":"https://api.github.com/repos/karelia/BSManagedDocument/git/commits{/sha}","comments_url":"https://api.github.com/repos/karelia/BSManagedDocument/comments{/number}","issue_comment_url":"https://api.github.com/repos/karelia/BSManagedDocument/issues/comments{/number}","contents_url":"https://api.github.com/repos/karelia/BSManagedDocument/contents/{+path}","compare_url":"https://api.github.com/repos/karelia/BSManagedDocument/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karelia/BSManagedDocument/merges","archive_url":"https://api.github.com/repos/karelia/BSManagedDocument/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karelia/BSManagedDocument/downloads","issues_url":"https://api.github.com/repos/karelia/BSManagedDocument/issues{/number}","pulls_url":"https://api.github.com/repos/karelia/BSManagedDocument/pulls{/number}","milestones_url":"https://api.github.com/repos/karelia/BSManagedDocument/milestones{/number}","notifications_url":"https://api.github.com/repos/karelia/BSManagedDocument/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karelia/BSManagedDocument/labels{/name}","releases_url":"https://api.github.com/repos/karelia/BSManagedDocument/releases{/id}","created_at":"2012-11-02T12:20:01Z","updated_at":"2015-03-10T00:54:06Z","pushed_at":"2015-03-18T12:46:40Z","git_url":"git://github.com/karelia/BSManagedDocument.git","ssh_url":"git@github.com:karelia/BSManagedDocument.git","clone_url":"https://github.com/karelia/BSManagedDocument.git","svn_url":"https://github.com/karelia/BSManagedDocument","homepage":"","size":716,"stargazers_count":40,"watchers_count":40,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":19,"forks":15,"open_issues":19,"watchers":40,"default_branch":"v0.3.x"}},"_links":{"self":{"href":"https://api.github.com/repos/karelia/BSManagedDocument/pulls/38"},"html":{"href":"https://github.com/karelia/BSManagedDocument/pull/38"},"issue":{"href":"https://api.github.com/repos/karelia/BSManagedDocument/issues/38"},"comments":{"href":"https://api.github.com/repos/karelia/BSManagedDocument/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/karelia/BSManagedDocument/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/karelia/BSManagedDocument/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/karelia/BSManagedDocument/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/karelia/BSManagedDocument/statuses/684d13c6a20f0edb82f707b77343297ea726957a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mikeabdullah","id":165011,"avatar_url":"https://avatars.githubusercontent.com/u/165011?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeabdullah","html_url":"https://github.com/mikeabdullah","followers_url":"https://api.github.com/users/mikeabdullah/followers","following_url":"https://api.github.com/users/mikeabdullah/following{/other_user}","gists_url":"https://api.github.com/users/mikeabdullah/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeabdullah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeabdullah/subscriptions","organizations_url":"https://api.github.com/users/mikeabdullah/orgs","repos_url":"https://api.github.com/users/mikeabdullah/repos","events_url":"https://api.github.com/users/mikeabdullah/events{/privacy}","received_events_url":"https://api.github.com/users/mikeabdullah/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":25,"deletions":9,"changed_files":1}}