From 1e6eca1787df31bf78c5bf51715015e8b4d2662d Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Mon, 10 May 2021 15:28:45 +0530 Subject: [PATCH] Ensure that pgAdmin4 shut down completely on the Quit command. Fixes #6420 --- docs/en_US/release_notes_5_3.rst | 1 + runtime/src/js/misc.js | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/en_US/release_notes_5_3.rst b/docs/en_US/release_notes_5_3.rst index 41f6220dc..2f51386fb 100644 --- a/docs/en_US/release_notes_5_3.rst +++ b/docs/en_US/release_notes_5_3.rst @@ -34,3 +34,4 @@ Bug fixes | `Issue #6413 `_ - Fixed an issue where duplicate columns are visible in the browser tree, which is owned by two sequences. | `Issue #6416 `_ - Added comment column in the properties panel for View and Materialized View collection node. | `Issue #6417 `_ - Fixed an issue where query editor is not being closed if the user clicks on the 'Don't Save' button. +| `Issue #6420 `_ - Ensure that pgAdmin4 shut down completely on the Quit command. diff --git a/runtime/src/js/misc.js b/runtime/src/js/misc.js index 95fe0e00a..b412662e7 100644 --- a/runtime/src/js/misc.js +++ b/runtime/src/js/misc.js @@ -218,9 +218,6 @@ const cleanupAndQuitApp = () => { } if (pgAdminWindowObject != null) { - // Close the window. - pgAdminWindowObject.close(true); - // Remove all the cookies. pgAdminWindowObject.cookies.getAll({}, function(cookies) { try {