{"action":"created","issue":{"url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/40","labels_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/40/comments","events_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/40/events","html_url":"https://github.com/vitaly-t/pg-promise/issues/40","id":105038953,"number":40,"title":"Access to ctx.db after disconnect()","user":{"login":"oliversalzburg","id":1658949,"avatar_url":"https://avatars.githubusercontent.com/u/1658949?v=3","gravatar_id":"","url":"https://api.github.com/users/oliversalzburg","html_url":"https://github.com/oliversalzburg","followers_url":"https://api.github.com/users/oliversalzburg/followers","following_url":"https://api.github.com/users/oliversalzburg/following{/other_user}","gists_url":"https://api.github.com/users/oliversalzburg/gists{/gist_id}","starred_url":"https://api.github.com/users/oliversalzburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliversalzburg/subscriptions","organizations_url":"https://api.github.com/users/oliversalzburg/orgs","repos_url":"https://api.github.com/users/oliversalzburg/repos","events_url":"https://api.github.com/users/oliversalzburg/events{/privacy}","received_events_url":"https://api.github.com/users/oliversalzburg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vitaly-t/pg-promise/labels/dependency%20issue","name":"dependency issue","color":"5319e7"},{"url":"https://api.github.com/repos/vitaly-t/pg-promise/labels/needs%20research","name":"needs research","color":"bfe5bf"},{"url":"https://api.github.com/repos/vitaly-t/pg-promise/labels/requires%20feedback","name":"requires feedback","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-09-05T17:25:49Z","updated_at":"2015-09-06T21:49:45Z","closed_at":null,"body":"Not quite sure about the circumstances, but I'm getting `TypeError: Cannot read property 'client' of null` in `index.js:430`.\r\n\r\n`ctx.db` is null, probably because `disconnect()` was already called."},"comment":{"url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/comments/138128796","html_url":"https://github.com/vitaly-t/pg-promise/issues/40#issuecomment-138128796","issue_url":"https://api.github.com/repos/vitaly-t/pg-promise/issues/40","id":138128796,"user":{"login":"vitaly-t","id":5108906,"avatar_url":"https://avatars.githubusercontent.com/u/5108906?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-t","html_url":"https://github.com/vitaly-t","followers_url":"https://api.github.com/users/vitaly-t/followers","following_url":"https://api.github.com/users/vitaly-t/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-t/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-t/subscriptions","organizations_url":"https://api.github.com/users/vitaly-t/orgs","repos_url":"https://api.github.com/users/vitaly-t/repos","events_url":"https://api.github.com/users/vitaly-t/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-t/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T21:49:45Z","updated_at":"2015-09-06T21:49:45Z","body":"@oliversalzburg since there was no update from you on this issue, there was another [release 1.9.8](https://github.com/vitaly-t/pg-promise/releases/tag/v.1.9.8) with the changes that address this issue. You see all the details in the release notes.\r\n\r\nPlease let us know if the issue is gone using the new version.\r\n"}}