{"action":"created","issue":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/1434","repository_url":"https://api.github.com/repos/MailCore/mailcore2","labels_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1434/labels{/name}","comments_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1434/comments","events_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1434/events","html_url":"https://github.com/MailCore/mailcore2/issues/1434","id":155326800,"number":1434,"title":"MCAssertInternal : assert mState == STATE_CONNECTED","user":{"login":"malavsoni","id":11372923,"avatar_url":"https://avatars.githubusercontent.com/u/11372923?v=3","gravatar_id":"","url":"https://api.github.com/users/malavsoni","html_url":"https://github.com/malavsoni","followers_url":"https://api.github.com/users/malavsoni/followers","following_url":"https://api.github.com/users/malavsoni/following{/other_user}","gists_url":"https://api.github.com/users/malavsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/malavsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malavsoni/subscriptions","organizations_url":"https://api.github.com/users/malavsoni/orgs","repos_url":"https://api.github.com/users/malavsoni/repos","events_url":"https://api.github.com/users/malavsoni/events{/privacy}","received_events_url":"https://api.github.com/users/malavsoni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-17T18:19:08Z","updated_at":"2016-05-17T18:26:05Z","closed_at":"2016-05-17T18:21:22Z","body":"Hello \r\nI am using mailcore in my app and I am facing some assert issue with it.\r\n\r\nIn my app 2 things happening concurrently.\r\n- Downloading mails in background\r\n- Download mail with specific uids\r\n\r\nI have attached the error screenshot which I am facing and another screenshot where I init the session object.\r\n\r\nscenario is like when i fetched email in background (imapSession init successfully) now I use same reference to fetch email with specific uids and crashed.\r\n\r\nI don't understand why it failed.\r\n\r\n![mailcore satup](https://cloud.githubusercontent.com/assets/11372923/15333953/8ecea6b4-1c89-11e6-9800-3498a6087de3.png)\r\n![error](https://cloud.githubusercontent.com/assets/11372923/15333955/8f26f422-1c89-11e6-995a-4b79e4ba6b82.png)\r\n"},"comment":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/comments/219809289","html_url":"https://github.com/MailCore/mailcore2/issues/1434#issuecomment-219809289","issue_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1434","id":219809289,"user":{"login":"malavsoni","id":11372923,"avatar_url":"https://avatars.githubusercontent.com/u/11372923?v=3","gravatar_id":"","url":"https://api.github.com/users/malavsoni","html_url":"https://github.com/malavsoni","followers_url":"https://api.github.com/users/malavsoni/followers","following_url":"https://api.github.com/users/malavsoni/following{/other_user}","gists_url":"https://api.github.com/users/malavsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/malavsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malavsoni/subscriptions","organizations_url":"https://api.github.com/users/malavsoni/orgs","repos_url":"https://api.github.com/users/malavsoni/repos","events_url":"https://api.github.com/users/malavsoni/events{/privacy}","received_events_url":"https://api.github.com/users/malavsoni/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T18:26:05Z","updated_at":"2016-05-17T18:26:05Z","body":"So we need to write checkAccount only once in app life time?\r\n"}}