{"push_id":557882964,"size":2,"distinct_size":2,"ref":"refs/heads/api-server-cleanup","head":"01cc86e5f1736157b9f0f0df16288cbef1550627","before":"c8ebafd1e6cd22e7210baee15b9c13a59d37d991","commits":[{"sha":"3b110d4c905b5d4abece435a7a32eebc25807ce7","author":{"email":"0a123068ee4de2ed74e7fac46874617db80da104@canonical.com","name":"Menno Smits"},"message":"rpc: added support for cleaning up an API root\n\nThis allows resources to be cleaned up after the connection is\ncompletely closed (as opposed to the existing Kill feature which\nallows resources to be shutdown in order to close the connection).","distinct":true,"url":"https://api.github.com/repos/mjs/juju/commits/3b110d4c905b5d4abece435a7a32eebc25807ce7"},{"sha":"01cc86e5f1736157b9f0f0df16288cbef1550627","author":{"email":"0a123068ee4de2ed74e7fac46874617db80da104@canonical.com","name":"Menno Smits"},"message":"apiserver: close State once connection closed.\n\nUsing resources to clean up a State connection used by the API means\nthat the State could be closed while it's still being used, causing\npanics. The new Cleaner interface is now used to close State instead\n(when required).\n\nCleanup was implemented on both apiRoot and apiHandler because either\none may be used for serving a connection.","distinct":true,"url":"https://api.github.com/repos/mjs/juju/commits/01cc86e5f1736157b9f0f0df16288cbef1550627"}]}