{"action":"closed","issue":{"url":"https://api.github.com/repos/OSVR/OSVR-Core/issues/1","labels_url":"https://api.github.com/repos/OSVR/OSVR-Core/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/OSVR/OSVR-Core/issues/1/comments","events_url":"https://api.github.com/repos/OSVR/OSVR-Core/issues/1/events","html_url":"https://github.com/OSVR/OSVR-Core/issues/1","id":46585985,"number":1,"title":"ogvrPluginRegisterDataWithDeleteCallback","user":{"login":"yboger","id":9085475,"avatar_url":"https://avatars.githubusercontent.com/u/9085475?v=3","gravatar_id":"","url":"https://api.github.com/users/yboger","html_url":"https://github.com/yboger","followers_url":"https://api.github.com/users/yboger/followers","following_url":"https://api.github.com/users/yboger/following{/other_user}","gists_url":"https://api.github.com/users/yboger/gists{/gist_id}","starred_url":"https://api.github.com/users/yboger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yboger/subscriptions","organizations_url":"https://api.github.com/users/yboger/orgs","repos_url":"https://api.github.com/users/yboger/repos","events_url":"https://api.github.com/users/yboger/events{/privacy}","received_events_url":"https://api.github.com/users/yboger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OSVR/OSVR-Core/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"rpavlik","id":61129,"avatar_url":"https://avatars.githubusercontent.com/u/61129?v=3","gravatar_id":"","url":"https://api.github.com/users/rpavlik","html_url":"https://github.com/rpavlik","followers_url":"https://api.github.com/users/rpavlik/followers","following_url":"https://api.github.com/users/rpavlik/following{/other_user}","gists_url":"https://api.github.com/users/rpavlik/gists{/gist_id}","starred_url":"https://api.github.com/users/rpavlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpavlik/subscriptions","organizations_url":"https://api.github.com/users/rpavlik/orgs","repos_url":"https://api.github.com/users/rpavlik/repos","events_url":"https://api.github.com/users/rpavlik/events{/privacy}","received_events_url":"https://api.github.com/users/rpavlik/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2014-10-23T03:46:50Z","updated_at":"2015-04-01T17:22:09Z","closed_at":"2015-04-01T17:22:09Z","body":"In the Async plugin we have:\r\n\r\n  ogvrPluginRegisterDataWithDeleteCallback(\r\n        ctx, &generic_deleter<DummyAsyncDevice>, static_cast<void *>(myAsync));\r\n\r\nimmediately after creating the data. Same on sync. Shouldn't we have a way to combine the creation and the registration of the deletion?"}}