{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/536","repository_url":"https://api.github.com/repos/doctrine/DoctrineBundle","labels_url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/536/comments","events_url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/536/events","html_url":"https://github.com/doctrine/DoctrineBundle/issues/536","id":149874180,"number":536,"title":"DropDatabaseDoctrineCommand doesn't close the connection","user":{"login":"josensanchez","id":5849818,"avatar_url":"https://avatars.githubusercontent.com/u/5849818?v=3","gravatar_id":"","url":"https://api.github.com/users/josensanchez","html_url":"https://github.com/josensanchez","followers_url":"https://api.github.com/users/josensanchez/followers","following_url":"https://api.github.com/users/josensanchez/following{/other_user}","gists_url":"https://api.github.com/users/josensanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/josensanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josensanchez/subscriptions","organizations_url":"https://api.github.com/users/josensanchez/orgs","repos_url":"https://api.github.com/users/josensanchez/repos","events_url":"https://api.github.com/users/josensanchez/events{/privacy}","received_events_url":"https://api.github.com/users/josensanchez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-04-20T20:18:09Z","updated_at":"2016-06-29T16:23:39Z","closed_at":null,"body":"I know that this may sound silly but I'm creating a custom command to reset the dev enviroment and i'm executing \r\n\r\n```\r\ndoctrine:database:drop --force\r\ndoctrine:database:create\r\n```\r\nconsecutively... and i'm getting \"connection in use\" exception\r\n\r\nthe [CreateDatabaseDoctrineCommand](https://github.com/doctrine/DoctrineBundle/blob/master/Command/CreateDatabaseDoctrineCommand.php) has this at the end of the execute() function\r\n\r\n`\r\n$tmpConnection->close();\r\n`\r\n\r\nIs there a reasson for not performing the same thing in the [DropDatabaseDoctrineCommand](https://github.com/doctrine/DoctrineBundle/blob/master/Command/DropDatabaseDoctrineCommand.php)::execute() when the drop take place?"},"comment":{"url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/comments/229410070","html_url":"https://github.com/doctrine/DoctrineBundle/issues/536#issuecomment-229410070","issue_url":"https://api.github.com/repos/doctrine/DoctrineBundle/issues/536","id":229410070,"user":{"login":"kimhemsoe","id":568787,"avatar_url":"https://avatars.githubusercontent.com/u/568787?v=3","gravatar_id":"","url":"https://api.github.com/users/kimhemsoe","html_url":"https://github.com/kimhemsoe","followers_url":"https://api.github.com/users/kimhemsoe/followers","following_url":"https://api.github.com/users/kimhemsoe/following{/other_user}","gists_url":"https://api.github.com/users/kimhemsoe/gists{/gist_id}","starred_url":"https://api.github.com/users/kimhemsoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimhemsoe/subscriptions","organizations_url":"https://api.github.com/users/kimhemsoe/orgs","repos_url":"https://api.github.com/users/kimhemsoe/repos","events_url":"https://api.github.com/users/kimhemsoe/events{/privacy}","received_events_url":"https://api.github.com/users/kimhemsoe/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T16:23:39Z","updated_at":"2016-06-29T16:23:39Z","body":"I will take a look at all those create/drop issues people are having."}}
{"actor":{"display_login":"kimhemsoe"}}