{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/PSReadLine/issues/8","labels_url":"https://api.github.com/repos/PowerShell/PSReadLine/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/PSReadLine/issues/8/comments","events_url":"https://api.github.com/repos/PowerShell/PSReadLine/issues/8/events","html_url":"https://github.com/PowerShell/PSReadLine/pull/8","id":113735420,"number":8,"title":"Clipboard.SetDataObject will throw if not on STA thread","user":{"login":"jazzdelightsme","id":771085,"avatar_url":"https://avatars.githubusercontent.com/u/771085?v=3","gravatar_id":"","url":"https://api.github.com/users/jazzdelightsme","html_url":"https://github.com/jazzdelightsme","followers_url":"https://api.github.com/users/jazzdelightsme/followers","following_url":"https://api.github.com/users/jazzdelightsme/following{/other_user}","gists_url":"https://api.github.com/users/jazzdelightsme/gists{/gist_id}","starred_url":"https://api.github.com/users/jazzdelightsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazzdelightsme/subscriptions","organizations_url":"https://api.github.com/users/jazzdelightsme/orgs","repos_url":"https://api.github.com/users/jazzdelightsme/repos","events_url":"https://api.github.com/users/jazzdelightsme/events{/privacy}","received_events_url":"https://api.github.com/users/jazzdelightsme/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerShell/PSReadLine/labels/cla-required","name":"cla-required","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-28T03:22:32Z","updated_at":"2015-11-30T17:43:11Z","closed_at":"2015-11-30T05:46:12Z","pull_request":{"url":"https://api.github.com/repos/PowerShell/PSReadLine/pulls/8","html_url":"https://github.com/PowerShell/PSReadLine/pull/8","diff_url":"https://github.com/PowerShell/PSReadLine/pull/8.diff","patch_url":"https://github.com/PowerShell/PSReadLine/pull/8.patch"},"body":"Depending on runspace configuration, we might not be on an STA thread.\r\n(For instance, one easy way to get into such a state manually is\r\n\"powershell.exe -MTA\", but of course that's not the only scenario.)\r\n\r\nThis change just checks the current apartment and marshals to an\r\nappropriate thread if necessary."},"comment":{"url":"https://api.github.com/repos/PowerShell/PSReadLine/issues/comments/160702850","html_url":"https://github.com/PowerShell/PSReadLine/pull/8#issuecomment-160702850","issue_url":"https://api.github.com/repos/PowerShell/PSReadLine/issues/8","id":160702850,"user":{"login":"jazzdelightsme","id":771085,"avatar_url":"https://avatars.githubusercontent.com/u/771085?v=3","gravatar_id":"","url":"https://api.github.com/users/jazzdelightsme","html_url":"https://github.com/jazzdelightsme","followers_url":"https://api.github.com/users/jazzdelightsme/followers","following_url":"https://api.github.com/users/jazzdelightsme/following{/other_user}","gists_url":"https://api.github.com/users/jazzdelightsme/gists{/gist_id}","starred_url":"https://api.github.com/users/jazzdelightsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazzdelightsme/subscriptions","organizations_url":"https://api.github.com/users/jazzdelightsme/orgs","repos_url":"https://api.github.com/users/jazzdelightsme/repos","events_url":"https://api.github.com/users/jazzdelightsme/events{/privacy}","received_events_url":"https://api.github.com/users/jazzdelightsme/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T17:43:11Z","updated_at":"2015-11-30T17:43:11Z","body":"Thank you!"}}