{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/3969","repository_url":"https://api.github.com/repos/libgit2/libgit2","labels_url":"https://api.github.com/repos/libgit2/libgit2/issues/3969/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2/issues/3969/comments","events_url":"https://api.github.com/repos/libgit2/libgit2/issues/3969/events","html_url":"https://github.com/libgit2/libgit2/issues/3969","id":184148778,"number":3969,"title":"assert(count <= MAX_SHUTDOWN_CB && count > 0)","user":{"login":"Vict0r-Lee","id":22830111,"avatar_url":"https://avatars.githubusercontent.com/u/22830111?v=3","gravatar_id":"","url":"https://api.github.com/users/Vict0r-Lee","html_url":"https://github.com/Vict0r-Lee","followers_url":"https://api.github.com/users/Vict0r-Lee/followers","following_url":"https://api.github.com/users/Vict0r-Lee/following{/other_user}","gists_url":"https://api.github.com/users/Vict0r-Lee/gists{/gist_id}","starred_url":"https://api.github.com/users/Vict0r-Lee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vict0r-Lee/subscriptions","organizations_url":"https://api.github.com/users/Vict0r-Lee/orgs","repos_url":"https://api.github.com/users/Vict0r-Lee/repos","events_url":"https://api.github.com/users/Vict0r-Lee/events{/privacy}","received_events_url":"https://api.github.com/users/Vict0r-Lee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-20T06:52:38Z","updated_at":"2016-10-27T08:17:34Z","closed_at":null,"body":" Hi ,@carlosmn. I always get thsi assertion in function git__on_shutdown() when I use many threads to open the repository and make some git operation.Certainly,I use git_libgit2_init and git_libgit2_shutdown to start up and shutdown. \r\n\r\nI don't know whta that assertion means and how to avoid it.\r\n"},"comment":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/comments/256577398","html_url":"https://github.com/libgit2/libgit2/issues/3969#issuecomment-256577398","issue_url":"https://api.github.com/repos/libgit2/libgit2/issues/3969","id":256577398,"user":{"login":"pks-t","id":4056630,"avatar_url":"https://avatars.githubusercontent.com/u/4056630?v=3","gravatar_id":"","url":"https://api.github.com/users/pks-t","html_url":"https://github.com/pks-t","followers_url":"https://api.github.com/users/pks-t/followers","following_url":"https://api.github.com/users/pks-t/following{/other_user}","gists_url":"https://api.github.com/users/pks-t/gists{/gist_id}","starred_url":"https://api.github.com/users/pks-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pks-t/subscriptions","organizations_url":"https://api.github.com/users/pks-t/orgs","repos_url":"https://api.github.com/users/pks-t/repos","events_url":"https://api.github.com/users/pks-t/events{/privacy}","received_events_url":"https://api.github.com/users/pks-t/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T08:17:34Z","updated_at":"2016-10-27T08:17:34Z","body":"Ah, I've been searching for such a document but didn't spot it. I did expect that these requirements would have been part of `git_libgit2_init`'s documentation. Especially since it states that it \"may be called multiple times\", without any remarks. I'll fix this."}}
{"actor":{"display_login":"pks-t"}}