{"action":"created","issue":{"url":"https://api.github.com/repos/juttle/juttle/issues/522","repository_url":"https://api.github.com/repos/juttle/juttle","labels_url":"https://api.github.com/repos/juttle/juttle/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/juttle/juttle/issues/522/comments","events_url":"https://api.github.com/repos/juttle/juttle/issues/522/events","html_url":"https://github.com/juttle/juttle/pull/522","id":138193052,"number":522,"title":"Deactivate program after running it","user":{"login":"bkutil","id":696026,"avatar_url":"https://avatars.githubusercontent.com/u/696026?v=3","gravatar_id":"","url":"https://api.github.com/users/bkutil","html_url":"https://github.com/bkutil","followers_url":"https://api.github.com/users/bkutil/followers","following_url":"https://api.github.com/users/bkutil/following{/other_user}","gists_url":"https://api.github.com/users/bkutil/gists{/gist_id}","starred_url":"https://api.github.com/users/bkutil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkutil/subscriptions","organizations_url":"https://api.github.com/users/bkutil/orgs","repos_url":"https://api.github.com/users/bkutil/repos","events_url":"https://api.github.com/users/bkutil/events{/privacy}","received_events_url":"https://api.github.com/users/bkutil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/juttle/juttle/labels/in%20progress","name":"in progress","color":"ffa500"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-03T14:30:19Z","updated_at":"2016-03-04T07:37:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juttle/juttle/pulls/522","html_url":"https://github.com/juttle/juttle/pull/522","diff_url":"https://github.com/juttle/juttle/pull/522.diff","patch_url":"https://github.com/juttle/juttle/pull/522.patch"},"body":"Procs and scheduler depend on the program deactivation after juttle runs\r\nand not doing that can lead to leaking timers.\r\n\r\nFix calls to `run_juttle` or `program.activate` that were missing a\r\ncorresponding `program.deactivate` call."},"comment":{"url":"https://api.github.com/repos/juttle/juttle/issues/comments/192163444","html_url":"https://github.com/juttle/juttle/pull/522#issuecomment-192163444","issue_url":"https://api.github.com/repos/juttle/juttle/issues/522","id":192163444,"user":{"login":"dmajda","id":18821,"avatar_url":"https://avatars.githubusercontent.com/u/18821?v=3","gravatar_id":"","url":"https://api.github.com/users/dmajda","html_url":"https://github.com/dmajda","followers_url":"https://api.github.com/users/dmajda/followers","following_url":"https://api.github.com/users/dmajda/following{/other_user}","gists_url":"https://api.github.com/users/dmajda/gists{/gist_id}","starred_url":"https://api.github.com/users/dmajda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmajda/subscriptions","organizations_url":"https://api.github.com/users/dmajda/orgs","repos_url":"https://api.github.com/users/dmajda/repos","events_url":"https://api.github.com/users/dmajda/events{/privacy}","received_events_url":"https://api.github.com/users/dmajda/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T07:37:26Z","updated_at":"2016-03-04T07:37:26Z","body":"+1, but at some point we should move `deactivateAfter` to options.\r\n"}}