{"action":"opened","issue":{"url":"https://api.github.com/repos/fex-team/yog2/issues/18","labels_url":"https://api.github.com/repos/fex-team/yog2/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/fex-team/yog2/issues/18/comments","events_url":"https://api.github.com/repos/fex-team/yog2/issues/18/events","html_url":"https://github.com/fex-team/yog2/issues/18","id":92814299,"number":18,"title":"自定义插件如何在Node服务器停止前做些清理工作？","user":{"login":"rendongsc","id":12553638,"avatar_url":"https://avatars.githubusercontent.com/u/12553638?v=3","gravatar_id":"","url":"https://api.github.com/users/rendongsc","html_url":"https://github.com/rendongsc","followers_url":"https://api.github.com/users/rendongsc/followers","following_url":"https://api.github.com/users/rendongsc/following{/other_user}","gists_url":"https://api.github.com/users/rendongsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rendongsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rendongsc/subscriptions","organizations_url":"https://api.github.com/users/rendongsc/orgs","repos_url":"https://api.github.com/users/rendongsc/repos","events_url":"https://api.github.com/users/rendongsc/events{/privacy}","received_events_url":"https://api.github.com/users/rendongsc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-03T07:38:19Z","updated_at":"2015-07-03T07:38:19Z","closed_at":null,"body":"通过自定义插件创建了些全局服务对象，比如数据库连接等，在Node服务器停止前如何调用相关的清理代码，如：关闭数据库连接等！\r\nyog2-kernel好像没有直接对应的事件？"}}