{"action":"created","issue":{"url":"https://api.github.com/repos/rexim/pacman.el/issues/1","labels_url":"https://api.github.com/repos/rexim/pacman.el/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rexim/pacman.el/issues/1/comments","events_url":"https://api.github.com/repos/rexim/pacman.el/issues/1/events","html_url":"https://github.com/rexim/pacman.el/issues/1","id":101189535,"number":1,"title":"The timer stops after some time","user":{"login":"rexim","id":165283,"avatar_url":"https://avatars.githubusercontent.com/u/165283?v=3","gravatar_id":"","url":"https://api.github.com/users/rexim","html_url":"https://github.com/rexim","followers_url":"https://api.github.com/users/rexim/followers","following_url":"https://api.github.com/users/rexim/following{/other_user}","gists_url":"https://api.github.com/users/rexim/gists{/gist_id}","starred_url":"https://api.github.com/users/rexim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexim/subscriptions","organizations_url":"https://api.github.com/users/rexim/orgs","repos_url":"https://api.github.com/users/rexim/repos","events_url":"https://api.github.com/users/rexim/events{/privacy}","received_events_url":"https://api.github.com/users/rexim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rexim","id":165283,"avatar_url":"https://avatars.githubusercontent.com/u/165283?v=3","gravatar_id":"","url":"https://api.github.com/users/rexim","html_url":"https://github.com/rexim","followers_url":"https://api.github.com/users/rexim/followers","following_url":"https://api.github.com/users/rexim/following{/other_user}","gists_url":"https://api.github.com/users/rexim/gists{/gist_id}","starred_url":"https://api.github.com/users/rexim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexim/subscriptions","organizations_url":"https://api.github.com/users/rexim/orgs","repos_url":"https://api.github.com/users/rexim/repos","events_url":"https://api.github.com/users/rexim/events{/privacy}","received_events_url":"https://api.github.com/users/rexim/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-08-15T16:52:48Z","updated_at":"2015-08-15T16:56:40Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/rexim/pacman.el/issues/comments/131400544","html_url":"https://github.com/rexim/pacman.el/issues/1#issuecomment-131400544","issue_url":"https://api.github.com/repos/rexim/pacman.el/issues/1","id":131400544,"user":{"login":"rexim","id":165283,"avatar_url":"https://avatars.githubusercontent.com/u/165283?v=3","gravatar_id":"","url":"https://api.github.com/users/rexim","html_url":"https://github.com/rexim","followers_url":"https://api.github.com/users/rexim/followers","following_url":"https://api.github.com/users/rexim/following{/other_user}","gists_url":"https://api.github.com/users/rexim/gists{/gist_id}","starred_url":"https://api.github.com/users/rexim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexim/subscriptions","organizations_url":"https://api.github.com/users/rexim/orgs","repos_url":"https://api.github.com/users/rexim/repos","events_url":"https://api.github.com/users/rexim/events{/privacy}","received_events_url":"https://api.github.com/users/rexim/received_events","type":"User","site_admin":false},"created_at":"2015-08-15T16:56:40Z","updated_at":"2015-08-15T16:56:40Z","body":"cc @ForNeVeR, @Minoru, @Newlifer\r\n\r\nIt is because `kill-buffer-hook` is triggered every time any buffer is killed (not only the one from which the hook was added). From the docs for `kill-buffer-hook`:\r\n\r\n```\r\nHook run when a buffer is killed.\r\nThe buffer being killed is current while the hook is running.\r\n```\r\n\r\nSo when the hook is triggered we have to check if the current buffer is the Pacman's buffer and if so destroy the game."}}