{"action":"created","issue":{"url":"https://api.github.com/repos/adamhathcock/sharpcompress/issues/187","repository_url":"https://api.github.com/repos/adamhathcock/sharpcompress","labels_url":"https://api.github.com/repos/adamhathcock/sharpcompress/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/adamhathcock/sharpcompress/issues/187/comments","events_url":"https://api.github.com/repos/adamhathcock/sharpcompress/issues/187/events","html_url":"https://github.com/adamhathcock/sharpcompress/issues/187","id":180607133,"number":187,"title":"Null reference when disposing a Volume class","user":{"login":"JasonBro","id":1178225,"avatar_url":"https://avatars.githubusercontent.com/u/1178225?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonBro","html_url":"https://github.com/JasonBro","followers_url":"https://api.github.com/users/JasonBro/followers","following_url":"https://api.github.com/users/JasonBro/following{/other_user}","gists_url":"https://api.github.com/users/JasonBro/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonBro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonBro/subscriptions","organizations_url":"https://api.github.com/users/JasonBro/orgs","repos_url":"https://api.github.com/users/JasonBro/repos","events_url":"https://api.github.com/users/JasonBro/events{/privacy}","received_events_url":"https://api.github.com/users/JasonBro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-03T10:24:14Z","updated_at":"2016-10-03T12:22:47Z","closed_at":null,"body":"There's a new bit of code in the SharpCompress.Common.Volume class that causes a null exception when ReaderOptions is null (which it is by default). \r\n\r\nWorkround: Add a ReaderOptions in the Open(Stream, ReaderOptions) call.\r\n\r\n\r\n        public void Dispose()\r\n        {\r\n            if (!ReaderOptions.LeaveStreamOpen && !disposed)\r\n            {\r\n                actualStream.Dispose();\r\n                disposed = true;\r\n            }\r\n        }\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/adamhathcock/sharpcompress/issues/comments/251092550","html_url":"https://github.com/adamhathcock/sharpcompress/issues/187#issuecomment-251092550","issue_url":"https://api.github.com/repos/adamhathcock/sharpcompress/issues/187","id":251092550,"user":{"login":"adamhathcock","id":527620,"avatar_url":"https://avatars.githubusercontent.com/u/527620?v=3","gravatar_id":"","url":"https://api.github.com/users/adamhathcock","html_url":"https://github.com/adamhathcock","followers_url":"https://api.github.com/users/adamhathcock/followers","following_url":"https://api.github.com/users/adamhathcock/following{/other_user}","gists_url":"https://api.github.com/users/adamhathcock/gists{/gist_id}","starred_url":"https://api.github.com/users/adamhathcock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamhathcock/subscriptions","organizations_url":"https://api.github.com/users/adamhathcock/orgs","repos_url":"https://api.github.com/users/adamhathcock/repos","events_url":"https://api.github.com/users/adamhathcock/events{/privacy}","received_events_url":"https://api.github.com/users/adamhathcock/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T12:22:47Z","updated_at":"2016-10-03T12:22:47Z","body":"Oh no.  Thanks for reporting this.  I'll fix it."}}
{"actor":{"display_login":"adamhathcock"}}