{"action":"closed","issue":{"url":"https://api.github.com/repos/oxyplot/oxyplot/issues/891","repository_url":"https://api.github.com/repos/oxyplot/oxyplot","labels_url":"https://api.github.com/repos/oxyplot/oxyplot/issues/891/labels{/name}","comments_url":"https://api.github.com/repos/oxyplot/oxyplot/issues/891/comments","events_url":"https://api.github.com/repos/oxyplot/oxyplot/issues/891/events","html_url":"https://github.com/oxyplot/oxyplot/issues/891","id":155822087,"number":891,"title":"PdfReportWriter doesn't close Stream","user":{"login":"a5rGithub","id":8037791,"avatar_url":"https://avatars.githubusercontent.com/u/8037791?v=3","gravatar_id":"","url":"https://api.github.com/users/a5rGithub","html_url":"https://github.com/a5rGithub","followers_url":"https://api.github.com/users/a5rGithub/followers","following_url":"https://api.github.com/users/a5rGithub/following{/other_user}","gists_url":"https://api.github.com/users/a5rGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/a5rGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a5rGithub/subscriptions","organizations_url":"https://api.github.com/users/a5rGithub/orgs","repos_url":"https://api.github.com/users/a5rGithub/repos","events_url":"https://api.github.com/users/a5rGithub/events{/privacy}","received_events_url":"https://api.github.com/users/a5rGithub/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oxyplot/oxyplot/labels/confirmed-bug","name":"confirmed-bug","color":"e11d21"},{"url":"https://api.github.com/repos/oxyplot/oxyplot/labels/easy-fix","name":"easy-fix","color":"009800"},{"url":"https://api.github.com/repos/oxyplot/oxyplot/labels/pdf","name":"pdf","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-19T20:01:13Z","updated_at":"2016-05-23T21:48:13Z","closed_at":"2016-05-23T21:48:13Z","body":"[reproduction]\r\n* Create a Report.\r\n* Use \"PdfReportWriter\" class to write to pdf.\r\n* try open pdf file while client application still open.\r\n* pdf reader will report that pdf file is still in use and can't open the file.\r\n```\r\n            string path = @\"c:\\Users\\me\\Desktop\\test.pdf\";\r\n            var r = this.CreateReport(fileName);\r\n            var reportStyle = new ReportStyle();\r\n            using (var w = new PdfReportWriter(fileName))\r\n            {\r\n                w.WriteReport(r, reportStyle);\r\n            }\r\n            Process.Start(path);\r\n```\r\n[expectation]\r\n* When \"PdfReportWriter\" gets disposed it should Close the Stream it opened.\r\n"}}
{"actor":{"display_login":"objorke"}}