Ticket #9437: gis-connection-close-trunk.diff

File gis-connection-close-trunk.diff, 587 bytes (added by jbronn, 5 years ago)
  • django/contrib/gis/db/backends/postgis/operations.py

     
    413413                # Responsibility of callers to perform error handling.
    414414                raise
    415415        finally:
    416             cursor.close()
     416            # Close out the connection.  See #9437.
     417            self.connection.close()
    417418        return row[0]
    418419
    419420    def postgis_geos_version(self):
Back to Top