{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefxlab/issues/922","repository_url":"https://api.github.com/repos/dotnet/corefxlab","labels_url":"https://api.github.com/repos/dotnet/corefxlab/issues/922/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefxlab/issues/922/comments","events_url":"https://api.github.com/repos/dotnet/corefxlab/issues/922/events","html_url":"https://github.com/dotnet/corefxlab/issues/922","id":184543102,"number":922,"title":"Dispose should ref count rather than lock","user":{"login":"benaadams","id":1142958,"avatar_url":"https://avatars.githubusercontent.com/u/1142958?v=3","gravatar_id":"","url":"https://api.github.com/users/benaadams","html_url":"https://github.com/benaadams","followers_url":"https://api.github.com/users/benaadams/followers","following_url":"https://api.github.com/users/benaadams/following{/other_user}","gists_url":"https://api.github.com/users/benaadams/gists{/gist_id}","starred_url":"https://api.github.com/users/benaadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaadams/subscriptions","organizations_url":"https://api.github.com/users/benaadams/orgs","repos_url":"https://api.github.com/users/benaadams/repos","events_url":"https://api.github.com/users/benaadams/events{/privacy}","received_events_url":"https://api.github.com/users/benaadams/received_events","type":"User","site_admin":false},"labels":[{"id":448397546,"url":"https://api.github.com/repos/dotnet/corefxlab/labels/Area:Span","name":"Area:Span","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-21T18:33:03Z","updated_at":"2016-10-31T02:33:50Z","closed_at":null,"body":"Currently Dispose of OwnedMemory throws on Dispose if there are outstanding held references in Reserved Memory.\n\nThis should be internalised and all the Disposes though work independently; and the OwnedMemory should be disposed (or returned to pool) when the last one is called.\n\ne.g. the originally issuer shouldn't have to wait for an upstream user to finish before discarding its own reference; its extra unnecessary logic.\n\nNote: Not sure `OnReferenceCountChanged` is then needed in this scenario\n"},"comment":{"url":"https://api.github.com/repos/dotnet/corefxlab/issues/comments/257201777","html_url":"https://github.com/dotnet/corefxlab/issues/922#issuecomment-257201777","issue_url":"https://api.github.com/repos/dotnet/corefxlab/issues/922","id":257201777,"user":{"login":"benaadams","id":1142958,"avatar_url":"https://avatars.githubusercontent.com/u/1142958?v=3","gravatar_id":"","url":"https://api.github.com/users/benaadams","html_url":"https://github.com/benaadams","followers_url":"https://api.github.com/users/benaadams/followers","following_url":"https://api.github.com/users/benaadams/following{/other_user}","gists_url":"https://api.github.com/users/benaadams/gists{/gist_id}","starred_url":"https://api.github.com/users/benaadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaadams/subscriptions","organizations_url":"https://api.github.com/users/benaadams/orgs","repos_url":"https://api.github.com/users/benaadams/repos","events_url":"https://api.github.com/users/benaadams/events{/privacy}","received_events_url":"https://api.github.com/users/benaadams/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T02:33:50Z","updated_at":"2016-10-31T02:33:50Z","body":"Does https://github.com/dotnet/corefxlab/pull/944 resolved this satisfactorily?"}}
{"actor":{"display_login":"benaadams"}}