{"action":"created","comment":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/56761011","id":56761011,"diff_hunk":"@@ -0,0 +1,43 @@\n+/*\n+ *      Copyright (C) 2005-2016 Team XBMC\n+ *      http://xbmc.org\n+ *\n+ *  This Program is free software; you can redistribute it and/or modify\n+ *  it under the terms of the GNU General Public License as published by\n+ *  the Free Software Foundation; either version 2, or (at your option)\n+ *  any later version.\n+ *\n+ *  This Program is distributed in the hope that it will be useful,\n+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+ *  GNU General Public License for more details.\n+ *\n+ *  You should have received a copy of the GNU General Public License\n+ *  along with XBMC; see the file COPYING.  If not, see\n+ *  <http://www.gnu.org/licenses/>.\n+ *\n+ */\n+\n+#pragma once\n+\n+#include \"addons/AddonManager.h\"\n+#include \"addons/BinaryAddonCache.h\"\n+#include <memory>\n+\n+namespace ADDON {\n+class CAddonMgr;\n+class CBinaryAddonCache;\n+}\n+\n+class CServiceMgr","path":"xbmc/ServiceManager.h","position":32,"original_position":32,"commit_id":"7224b4ee30520852ddc5e6ef7a2fb274f5bd394c","original_commit_id":"7224b4ee30520852ddc5e6ef7a2fb274f5bd394c","user":{"login":"FernetMenta","id":576009,"avatar_url":"https://avatars.githubusercontent.com/u/576009?v=3","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"body":"ok, no problem","created_at":"2016-03-20T08:51:48Z","updated_at":"2016-03-20T08:51:48Z","html_url":"https://github.com/xbmc/xbmc/pull/9389#discussion_r56761011","pull_request_url":"https://api.github.com/repos/xbmc/xbmc/pulls/9389","_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/56761011"},"html":{"href":"https://github.com/xbmc/xbmc/pull/9389#discussion_r56761011"},"pull_request":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/9389"}}},"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/9389","id":63463655,"html_url":"https://github.com/xbmc/xbmc/pull/9389","diff_url":"https://github.com/xbmc/xbmc/pull/9389.diff","patch_url":"https://github.com/xbmc/xbmc/pull/9389.patch","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/9389","number":9389,"state":"open","locked":false,"title":"add ServiceManager and ServiceBroker - gain control over memory","user":{"login":"FernetMenta","id":576009,"avatar_url":"https://avatars.githubusercontent.com/u/576009?v=3","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"body":"Start to get rid of evil statics and get control over the sequence of crating object.\r\n\r\n@garbear @mapfau this should fix the crash on exit.","created_at":"2016-03-19T09:31:48Z","updated_at":"2016-03-20T08:51:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d5ffbbae9f27583ff8786a461f78a5f5caf5046","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/xbmc/pulls/9389/commits","review_comments_url":"https://api.github.com/repos/xbmc/xbmc/pulls/9389/comments","review_comment_url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/9389/comments","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/7224b4ee30520852ddc5e6ef7a2fb274f5bd394c","head":{"label":"FernetMenta:servman","ref":"servman","sha":"7224b4ee30520852ddc5e6ef7a2fb274f5bd394c","user":{"login":"FernetMenta","id":576009,"avatar_url":"https://avatars.githubusercontent.com/u/576009?v=3","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"repo":{"id":1278128,"name":"xbmc","full_name":"FernetMenta/xbmc","owner":{"login":"FernetMenta","id":576009,"avatar_url":"https://avatars.githubusercontent.com/u/576009?v=3","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FernetMenta/xbmc","description":"Fork of  XBMC Main PVR Development Repository.","fork":true,"url":"https://api.github.com/repos/FernetMenta/xbmc","forks_url":"https://api.github.com/repos/FernetMenta/xbmc/forks","keys_url":"https://api.github.com/repos/FernetMenta/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FernetMenta/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FernetMenta/xbmc/teams","hooks_url":"https://api.github.com/repos/FernetMenta/xbmc/hooks","issue_events_url":"https://api.github.com/repos/FernetMenta/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/FernetMenta/xbmc/events","assignees_url":"https://api.github.com/repos/FernetMenta/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/FernetMenta/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/FernetMenta/xbmc/tags","blobs_url":"https://api.github.com/repos/FernetMenta/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FernetMenta/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FernetMenta/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/FernetMenta/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FernetMenta/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/FernetMenta/xbmc/languages","stargazers_url":"https://api.github.com/repos/FernetMenta/xbmc/stargazers","contributors_url":"https://api.github.com/repos/FernetMenta/xbmc/contributors","subscribers_url":"https://api.github.com/repos/FernetMenta/xbmc/subscribers","subscription_url":"https://api.github.com/repos/FernetMenta/xbmc/subscription","commits_url":"https://api.github.com/repos/FernetMenta/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/FernetMenta/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/FernetMenta/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/FernetMenta/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/FernetMenta/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/FernetMenta/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FernetMenta/xbmc/merges","archive_url":"https://api.github.com/repos/FernetMenta/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FernetMenta/xbmc/downloads","issues_url":"https://api.github.com/repos/FernetMenta/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/FernetMenta/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/FernetMenta/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/FernetMenta/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FernetMenta/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/FernetMenta/xbmc/releases{/id}","deployments_url":"https://api.github.com/repos/FernetMenta/xbmc/deployments","created_at":"2011-01-21T11:28:28Z","updated_at":"2016-03-18T13:08:59Z","pushed_at":"2016-03-20T08:20:25Z","git_url":"git://github.com/FernetMenta/xbmc.git","ssh_url":"git@github.com:FernetMenta/xbmc.git","clone_url":"https://github.com/FernetMenta/xbmc.git","svn_url":"https://github.com/FernetMenta/xbmc","homepage":"http://xbmc.org","size":576133,"stargazers_count":60,"watchers_count":60,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":13,"forks":21,"open_issues":13,"watchers":60,"default_branch":"master"}},"base":{"label":"xbmc:master","ref":"master","sha":"8069f6a2ca2af664b24d6249724e4b836c478675","user":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"repo":{"id":1217614,"name":"xbmc","full_name":"xbmc/xbmc","owner":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xbmc/xbmc","description":"Kodi Main Repository - By using this code you agree with our policy and will follow the GPLv2 license as included","fork":false,"url":"https://api.github.com/repos/xbmc/xbmc","forks_url":"https://api.github.com/repos/xbmc/xbmc/forks","keys_url":"https://api.github.com/repos/xbmc/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xbmc/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xbmc/xbmc/teams","hooks_url":"https://api.github.com/repos/xbmc/xbmc/hooks","issue_events_url":"https://api.github.com/repos/xbmc/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/xbmc/xbmc/events","assignees_url":"https://api.github.com/repos/xbmc/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/xbmc/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/xbmc/xbmc/tags","blobs_url":"https://api.github.com/repos/xbmc/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xbmc/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xbmc/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/xbmc/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/xbmc/xbmc/languages","stargazers_url":"https://api.github.com/repos/xbmc/xbmc/stargazers","contributors_url":"https://api.github.com/repos/xbmc/xbmc/contributors","subscribers_url":"https://api.github.com/repos/xbmc/xbmc/subscribers","subscription_url":"https://api.github.com/repos/xbmc/xbmc/subscription","commits_url":"https://api.github.com/repos/xbmc/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/xbmc/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/xbmc/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/xbmc/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/xbmc/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/xbmc/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xbmc/xbmc/merges","archive_url":"https://api.github.com/repos/xbmc/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xbmc/xbmc/downloads","issues_url":"https://api.github.com/repos/xbmc/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/xbmc/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/xbmc/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/xbmc/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xbmc/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/xbmc/xbmc/releases{/id}","deployments_url":"https://api.github.com/repos/xbmc/xbmc/deployments","created_at":"2011-01-03T21:18:51Z","updated_at":"2016-03-20T00:55:27Z","pushed_at":"2016-03-20T08:20:23Z","git_url":"git://github.com/xbmc/xbmc.git","ssh_url":"git@github.com:xbmc/xbmc.git","clone_url":"https://github.com/xbmc/xbmc.git","svn_url":"https://github.com/xbmc/xbmc","homepage":"http://kodi.wiki/view/Official:Trademark_Policy","size":1743027,"stargazers_count":4610,"watchers_count":4610,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3391,"mirror_url":null,"open_issues_count":228,"forks":3391,"open_issues":228,"watchers":4610,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/9389"},"html":{"href":"https://github.com/xbmc/xbmc/pull/9389"},"issue":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/9389"},"comments":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/9389/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/9389/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/9389/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/xbmc/statuses/7224b4ee30520852ddc5e6ef7a2fb274f5bd394c"}}}}