{"action":"closed","issue":{"url":"https://api.github.com/repos/bndtools/bnd/issues/1066","repository_url":"https://api.github.com/repos/bndtools/bnd","labels_url":"https://api.github.com/repos/bndtools/bnd/issues/1066/labels{/name}","comments_url":"https://api.github.com/repos/bndtools/bnd/issues/1066/comments","events_url":"https://api.github.com/repos/bndtools/bnd/issues/1066/events","html_url":"https://github.com/bndtools/bnd/issues/1066","id":104468766,"number":1066,"title":"Add shutdown hook to Launcher for clean Framework stop","user":{"login":"njbartlett","id":6366,"avatar_url":"https://avatars.githubusercontent.com/u/6366?v=3","gravatar_id":"","url":"https://api.github.com/users/njbartlett","html_url":"https://github.com/njbartlett","followers_url":"https://api.github.com/users/njbartlett/followers","following_url":"https://api.github.com/users/njbartlett/following{/other_user}","gists_url":"https://api.github.com/users/njbartlett/gists{/gist_id}","starred_url":"https://api.github.com/users/njbartlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njbartlett/subscriptions","organizations_url":"https://api.github.com/users/njbartlett/orgs","repos_url":"https://api.github.com/users/njbartlett/repos","events_url":"https://api.github.com/users/njbartlett/events{/privacy}","received_events_url":"https://api.github.com/users/njbartlett/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/bndtools/bnd/milestones/14","html_url":"https://github.com/bndtools/bnd/milestones/3.2","labels_url":"https://api.github.com/repos/bndtools/bnd/milestones/14/labels","id":1317281,"number":14,"title":"3.2","description":"3.2.0.REL","creator":{"login":"bjhargrave","id":277682,"avatar_url":"https://avatars.githubusercontent.com/u/277682?v=3","gravatar_id":"","url":"https://api.github.com/users/bjhargrave","html_url":"https://github.com/bjhargrave","followers_url":"https://api.github.com/users/bjhargrave/followers","following_url":"https://api.github.com/users/bjhargrave/following{/other_user}","gists_url":"https://api.github.com/users/bjhargrave/gists{/gist_id}","starred_url":"https://api.github.com/users/bjhargrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjhargrave/subscriptions","organizations_url":"https://api.github.com/users/bjhargrave/orgs","repos_url":"https://api.github.com/users/bjhargrave/repos","events_url":"https://api.github.com/users/bjhargrave/events{/privacy}","received_events_url":"https://api.github.com/users/bjhargrave/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":35,"state":"open","created_at":"2015-09-21T20:58:29Z","updated_at":"2016-03-04T17:36:06Z","due_on":"2016-04-28T23:00:00Z","closed_at":null},"comments":9,"created_at":"2015-09-02T12:25:39Z","updated_at":"2016-03-04T17:36:06Z","closed_at":"2016-03-04T17:36:06Z","body":"This [StackOverflow question](http://stackoverflow.com/questions/32211120/how-to-stop-an-osgi-application-from-command-line) got me thinking... shouldn't we support a similar shutdown hook in the bnd Launcher?"}}