{"action":"created","comment":{"url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/comments/50318861","id":50318861,"diff_hunk":"@@ -359,6 +359,17 @@ - (void)identify:(NSString *)distinctId\n         if ([Mixpanel inBackground]) {\n             [self archiveProperties];\n         }\n+        \n+        // Clear cached variants\n+        self.variants = nil;","path":"Mixpanel/Mixpanel.m","position":6,"original_position":6,"commit_id":"b986b6213e89eb527a4dcd85576fc0e2b71080cf","original_commit_id":"cf8b09207f9aabd06115b552e2775c67e81dbb53","user":{"login":"samgreen","id":276118,"avatar_url":"https://avatars.githubusercontent.com/u/276118?v=3","gravatar_id":"","url":"https://api.github.com/users/samgreen","html_url":"https://github.com/samgreen","followers_url":"https://api.github.com/users/samgreen/followers","following_url":"https://api.github.com/users/samgreen/following{/other_user}","gists_url":"https://api.github.com/users/samgreen/gists{/gist_id}","starred_url":"https://api.github.com/users/samgreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samgreen/subscriptions","organizations_url":"https://api.github.com/users/samgreen/orgs","repos_url":"https://api.github.com/users/samgreen/repos","events_url":"https://api.github.com/users/samgreen/events{/privacy}","received_events_url":"https://api.github.com/users/samgreen/received_events","type":"User","site_admin":false},"body":"@elihayc  You need to call `stop` on all of the currently executing variants. You're just removing references to them here, and they will still be applied. If you can make this change, I'm happy to merge it in.","created_at":"2016-01-20T21:06:36Z","updated_at":"2016-01-20T21:06:36Z","html_url":"https://github.com/mixpanel/mixpanel-iphone/pull/344#discussion_r50318861","pull_request_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/344","_links":{"self":{"href":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/comments/50318861"},"html":{"href":"https://github.com/mixpanel/mixpanel-iphone/pull/344#discussion_r50318861"},"pull_request":{"href":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/344"}}},"pull_request":{"url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/344","id":45258307,"html_url":"https://github.com/mixpanel/mixpanel-iphone/pull/344","diff_url":"https://github.com/mixpanel/mixpanel-iphone/pull/344.diff","patch_url":"https://github.com/mixpanel/mixpanel-iphone/pull/344.patch","issue_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/344","number":344,"state":"open","locked":false,"title":"Add delegate for DidSetIdentify","user":{"login":"elihayc","id":6341139,"avatar_url":"https://avatars.githubusercontent.com/u/6341139?v=3","gravatar_id":"","url":"https://api.github.com/users/elihayc","html_url":"https://github.com/elihayc","followers_url":"https://api.github.com/users/elihayc/followers","following_url":"https://api.github.com/users/elihayc/following{/other_user}","gists_url":"https://api.github.com/users/elihayc/gists{/gist_id}","starred_url":"https://api.github.com/users/elihayc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elihayc/subscriptions","organizations_url":"https://api.github.com/users/elihayc/orgs","repos_url":"https://api.github.com/users/elihayc/repos","events_url":"https://api.github.com/users/elihayc/events{/privacy}","received_events_url":"https://api.github.com/users/elihayc/received_events","type":"User","site_admin":false},"body":"The JoinExperiement has Async call to SetIdentify.\r\nAnd If we want to use experiment on the startup, we might check the tweak before the setIdentify Completed.\r\n\r\nI added a delegate  \"mixpanelDidSetIdentify\" , which called when the SetIdentify method completed.\r\n","created_at":"2015-09-17T07:10:34Z","updated_at":"2016-01-20T21:06:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8bde8386db2250b441bcd378972c8dc2a54267cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/344/commits","review_comments_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/344/comments","review_comment_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/344/comments","statuses_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/statuses/b986b6213e89eb527a4dcd85576fc0e2b71080cf","head":{"label":"elihayc:master","ref":"master","sha":"b986b6213e89eb527a4dcd85576fc0e2b71080cf","user":{"login":"elihayc","id":6341139,"avatar_url":"https://avatars.githubusercontent.com/u/6341139?v=3","gravatar_id":"","url":"https://api.github.com/users/elihayc","html_url":"https://github.com/elihayc","followers_url":"https://api.github.com/users/elihayc/followers","following_url":"https://api.github.com/users/elihayc/following{/other_user}","gists_url":"https://api.github.com/users/elihayc/gists{/gist_id}","starred_url":"https://api.github.com/users/elihayc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elihayc/subscriptions","organizations_url":"https://api.github.com/users/elihayc/orgs","repos_url":"https://api.github.com/users/elihayc/repos","events_url":"https://api.github.com/users/elihayc/events{/privacy}","received_events_url":"https://api.github.com/users/elihayc/received_events","type":"User","site_admin":false},"repo":{"id":38355881,"name":"mixpanel-iphone","full_name":"elihayc/mixpanel-iphone","owner":{"login":"elihayc","id":6341139,"avatar_url":"https://avatars.githubusercontent.com/u/6341139?v=3","gravatar_id":"","url":"https://api.github.com/users/elihayc","html_url":"https://github.com/elihayc","followers_url":"https://api.github.com/users/elihayc/followers","following_url":"https://api.github.com/users/elihayc/following{/other_user}","gists_url":"https://api.github.com/users/elihayc/gists{/gist_id}","starred_url":"https://api.github.com/users/elihayc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elihayc/subscriptions","organizations_url":"https://api.github.com/users/elihayc/orgs","repos_url":"https://api.github.com/users/elihayc/repos","events_url":"https://api.github.com/users/elihayc/events{/privacy}","received_events_url":"https://api.github.com/users/elihayc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elihayc/mixpanel-iphone","description":"iPhone tracking library for Mixpanel Analytics","fork":true,"url":"https://api.github.com/repos/elihayc/mixpanel-iphone","forks_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/forks","keys_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/teams","hooks_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/hooks","issue_events_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/issues/events{/number}","events_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/events","assignees_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/assignees{/user}","branches_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/branches{/branch}","tags_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/tags","blobs_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/git/refs{/sha}","trees_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/statuses/{sha}","languages_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/languages","stargazers_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/stargazers","contributors_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/contributors","subscribers_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/subscribers","subscription_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/subscription","commits_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/commits{/sha}","git_commits_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/git/commits{/sha}","comments_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/comments{/number}","issue_comment_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/issues/comments{/number}","contents_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/contents/{+path}","compare_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/merges","archive_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/downloads","issues_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/issues{/number}","pulls_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/pulls{/number}","milestones_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/milestones{/number}","notifications_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/labels{/name}","releases_url":"https://api.github.com/repos/elihayc/mixpanel-iphone/releases{/id}","created_at":"2015-07-01T07:14:38Z","updated_at":"2015-07-01T07:14:39Z","pushed_at":"2015-12-23T21:26:36Z","git_url":"git://github.com/elihayc/mixpanel-iphone.git","ssh_url":"git@github.com:elihayc/mixpanel-iphone.git","clone_url":"https://github.com/elihayc/mixpanel-iphone.git","svn_url":"https://github.com/elihayc/mixpanel-iphone","homepage":"http://mixpanel.com","size":4378,"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":"master"}},"base":{"label":"mixpanel:master","ref":"master","sha":"bdd0f5a7f33ea0bfc4193f84ae2ed80258215bab","user":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"repo":{"id":775069,"name":"mixpanel-iphone","full_name":"mixpanel/mixpanel-iphone","owner":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mixpanel/mixpanel-iphone","description":"iPhone tracking library for Mixpanel Analytics","fork":false,"url":"https://api.github.com/repos/mixpanel/mixpanel-iphone","forks_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/forks","keys_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/teams","hooks_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/hooks","issue_events_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/events{/number}","events_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/events","assignees_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/assignees{/user}","branches_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/branches{/branch}","tags_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/tags","blobs_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/git/refs{/sha}","trees_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/statuses/{sha}","languages_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/languages","stargazers_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/stargazers","contributors_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/contributors","subscribers_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/subscribers","subscription_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/subscription","commits_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/commits{/sha}","git_commits_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/git/commits{/sha}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/comments{/number}","issue_comment_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/comments{/number}","contents_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/contents/{+path}","compare_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/merges","archive_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/downloads","issues_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues{/number}","pulls_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls{/number}","milestones_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/milestones{/number}","notifications_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/labels{/name}","releases_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/releases{/id}","created_at":"2010-07-14T17:48:47Z","updated_at":"2016-01-20T18:30:19Z","pushed_at":"2016-01-20T20:48:01Z","git_url":"git://github.com/mixpanel/mixpanel-iphone.git","ssh_url":"git@github.com:mixpanel/mixpanel-iphone.git","clone_url":"https://github.com/mixpanel/mixpanel-iphone.git","svn_url":"https://github.com/mixpanel/mixpanel-iphone","homepage":"http://mixpanel.com","size":6996,"stargazers_count":411,"watchers_count":411,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":316,"mirror_url":null,"open_issues_count":40,"forks":316,"open_issues":40,"watchers":411,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/344"},"html":{"href":"https://github.com/mixpanel/mixpanel-iphone/pull/344"},"issue":{"href":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/344"},"comments":{"href":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/344/comments"},"review_comments":{"href":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/344/comments"},"review_comment":{"href":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/344/commits"},"statuses":{"href":"https://api.github.com/repos/mixpanel/mixpanel-iphone/statuses/b986b6213e89eb527a4dcd85576fc0e2b71080cf"}}}}