{"comment":{"url":"https://api.github.com/repos/soomla/cocos2dx-store/comments/12241766","html_url":"https://github.com/soomla/cocos2dx-store/commit/990c1abc529db4e57776eb3ed507bd113c698a26#commitcomment-12241766","id":12241766,"user":{"login":"jonyrock","id":1022757,"avatar_url":"https://avatars.githubusercontent.com/u/1022757?v=3","gravatar_id":"","url":"https://api.github.com/users/jonyrock","html_url":"https://github.com/jonyrock","followers_url":"https://api.github.com/users/jonyrock/followers","following_url":"https://api.github.com/users/jonyrock/following{/other_user}","gists_url":"https://api.github.com/users/jonyrock/gists{/gist_id}","starred_url":"https://api.github.com/users/jonyrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonyrock/subscriptions","organizations_url":"https://api.github.com/users/jonyrock/orgs","repos_url":"https://api.github.com/users/jonyrock/repos","events_url":"https://api.github.com/users/jonyrock/events{/privacy}","received_events_url":"https://api.github.com/users/jonyrock/received_events","type":"User","site_admin":false},"position":45,"line":45,"path":"Soomla/CCStoreService.cpp","commit_id":"990c1abc529db4e57776eb3ed507bd113c698a26","created_at":"2015-07-19T10:15:00Z","updated_at":"2015-07-19T10:15:00Z","body":"I suggest to change the signature  \r\n`bool soomla::CCStoreService::initShared()`\r\nas it happens everywhere in cocos2d-x.\r\n\r\nAnd make `sInstance = new (nothrow) CCStoreService();`\r\n\r\nand return `nullptr` if `init()` failed \r\n"}}