def destroy(self):

        global application_pool

        self.assert_valid()

        # Destroy pool
        self.apr_pool_destroy(self._pool)

        # Clear application pool and terminate APR if necessary
        if not self._parent_pool:
            application_pool = None

        self._mark_invalid()
Server for HTTP(s) Requests
dataset/ETHPy150Open edgewall/trac/tracopt/versioncontrol/svn/svn_fs.py/Pool.destroy--crossover with--dataset/ETHPy150Open w3c/wptserve/wptserve/server.py/WebTestServer.__init__