Fixed crypt key is missing issue when logout from the pgAdmin. Fixes #7614

pull/90/head
Akshay Joshi 2022-08-16 15:29:57 +05:30
parent 485265979e
commit ff4c5392d6
2 changed files with 4 additions and 3 deletions

View File

@ -35,3 +35,4 @@ Bug fixes
| `Issue #7586 <https://redmine.postgresql.org/issues/7586>`_ - Fixed an issue with rendering geometry when selecting a complete column. | `Issue #7586 <https://redmine.postgresql.org/issues/7586>`_ - Fixed an issue with rendering geometry when selecting a complete column.
| `Issue #7587 <https://redmine.postgresql.org/issues/7587>`_ - Ensure that the children of information_schema and pg_catalog node should be displayed. | `Issue #7587 <https://redmine.postgresql.org/issues/7587>`_ - Ensure that the children of information_schema and pg_catalog node should be displayed.
| `Issue #7608 <https://redmine.postgresql.org/issues/7608>`_ - Fixed an issue where the cloud deployment wizard creates the cluster with the High Availability even if that option is not selected. | `Issue #7608 <https://redmine.postgresql.org/issues/7608>`_ - Fixed an issue where the cloud deployment wizard creates the cluster with the High Availability even if that option is not selected.
| `Issue #7614 <https://redmine.postgresql.org/issues/7614>`_ - Fixed crypt key is missing issue when logout from the pgAdmin.

View File

@ -704,12 +704,12 @@ def create_app(app_name=None):
except Exception as e: except Exception as e:
current_app.logger.exception(e) current_app.logger.exception(e)
# remove key
current_app.keyManager.reset()
_driver = get_driver(PG_DEFAULT_DRIVER) _driver = get_driver(PG_DEFAULT_DRIVER)
_driver.gc_own() _driver.gc_own()
# remove key
current_app.keyManager.reset()
########################################################################## ##########################################################################
# Load plugin modules # Load plugin modules
########################################################################## ##########################################################################