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

This commit is contained in:
Akshay Joshi
2022-08-16 15:29:57 +05:30
parent 485265979e
commit ff4c5392d6
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -704,12 +704,12 @@ def create_app(app_name=None):
except Exception as e:
current_app.logger.exception(e)
# remove key
current_app.keyManager.reset()
_driver = get_driver(PG_DEFAULT_DRIVER)
_driver.gc_own()
# remove key
current_app.keyManager.reset()
##########################################################################
# Load plugin modules
##########################################################################