{"action":"created","issue":{"url":"https://api.github.com/repos/dg/dibi/issues/200","labels_url":"https://api.github.com/repos/dg/dibi/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/dg/dibi/issues/200/comments","events_url":"https://api.github.com/repos/dg/dibi/issues/200/events","html_url":"https://github.com/dg/dibi/pull/200","id":121687875,"number":200,"title":"Allow disconnecting when passing PDO instance.","user":{"login":"michal-kocarek","id":762095,"avatar_url":"https://avatars.githubusercontent.com/u/762095?v=3","gravatar_id":"","url":"https://api.github.com/users/michal-kocarek","html_url":"https://github.com/michal-kocarek","followers_url":"https://api.github.com/users/michal-kocarek/followers","following_url":"https://api.github.com/users/michal-kocarek/following{/other_user}","gists_url":"https://api.github.com/users/michal-kocarek/gists{/gist_id}","starred_url":"https://api.github.com/users/michal-kocarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal-kocarek/subscriptions","organizations_url":"https://api.github.com/users/michal-kocarek/orgs","repos_url":"https://api.github.com/users/michal-kocarek/repos","events_url":"https://api.github.com/users/michal-kocarek/events{/privacy}","received_events_url":"https://api.github.com/users/michal-kocarek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-11T11:09:45Z","updated_at":"2015-12-14T11:12:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dg/dibi/pulls/200","html_url":"https://github.com/dg/dibi/pull/200","diff_url":"https://github.com/dg/dibi/pull/200.diff","patch_url":"https://github.com/dg/dibi/pull/200.patch"},"body":"PDO instance is disconnected when there is no other reference to the instance remaining. However when PDO instance is passed to the driver using `$config['pdo']` or `$config['resource']`, it remains in the config array. And then, the disconnect() does not work as intended.\r\n\r\nNOT freeing the PDO instance from config prevents the disconnection using the `disconnect()` method."},"comment":{"url":"https://api.github.com/repos/dg/dibi/issues/comments/164411841","html_url":"https://github.com/dg/dibi/pull/200#issuecomment-164411841","issue_url":"https://api.github.com/repos/dg/dibi/issues/200","id":164411841,"user":{"login":"michal-kocarek","id":762095,"avatar_url":"https://avatars.githubusercontent.com/u/762095?v=3","gravatar_id":"","url":"https://api.github.com/users/michal-kocarek","html_url":"https://github.com/michal-kocarek","followers_url":"https://api.github.com/users/michal-kocarek/followers","following_url":"https://api.github.com/users/michal-kocarek/following{/other_user}","gists_url":"https://api.github.com/users/michal-kocarek/gists{/gist_id}","starred_url":"https://api.github.com/users/michal-kocarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal-kocarek/subscriptions","organizations_url":"https://api.github.com/users/michal-kocarek/orgs","repos_url":"https://api.github.com/users/michal-kocarek/repos","events_url":"https://api.github.com/users/michal-kocarek/events{/privacy}","received_events_url":"https://api.github.com/users/michal-kocarek/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T11:12:32Z","updated_at":"2015-12-14T11:12:32Z","body":"@emanwebdev: I am sorry, but don't understood what you meant... Could you please explain me the idea in other words?"}}