Ensure that the continue/start button should be disabled if the user stops the Debugger for the procedures. #5188 (#5353)

This commit is contained in:
Nikhil Mohite 2022-09-23 11:11:23 +05:30 committed by GitHub
parent 94ca48674a
commit 98c50afe8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -28,3 +28,4 @@ Bug fixes
| `Issue #5249 <https://github.com/pgadmin-org/pgadmin4/issues/5249>`_ - Added the ability to display the selected text from the query tool in the find/replace box.
| `Issue #5262 <https://github.com/pgadmin-org/pgadmin4/issues/5262>`_ - Ensure that the user management dialog should not allow the same email addresses with different letter casings when creating users.
| `Issue #5308 <https://github.com/pgadmin-org/pgadmin4/issues/5308>`_ - Ensure that the default value for a column should be used if it is made empty.
| `Issue #5188 <https://github.com/pgadmin-org/pgadmin4/issues/5188>`_ - Ensure that the continue/start button should be disabled if the user stops the Debugger for the procedures.

View File

@ -514,8 +514,11 @@ export default function DebuggerComponent({ pgAdmin, selectedNodeInfo, panel, ev
})
.then(function (res) {
if (res.data.data.status) {
// Call function to create and update local variables ....
// Remove active time in the editor
setActiveLine(-1);
// Clear timeout on stop debugger.
clearTimeout(timeOut);
params.directDebugger.direct_execution_completed = true;
params.directDebugger.is_user_aborted_debugging = true;