[pgadmin-org/pgadmin4] b923f5: Use fetch instead of axios to close connections in...
[pgadmin-org/pgadmin4] b923f5: Use fetch instead of axios to close connections in...
От:
Aditya Toshniwal <noreply@github.com>
Дата:
Branch: refs/heads/master
Home: https://github.com/pgadmin-org/pgadmin4
Commit: b923f5fcfa448939b08d574cb138d7584fb4f746
https://github.com/pgadmin-org/pgadmin4/commit/b923f5fcfa448939b08d574cb138d7584fb4f746
Author: Aditya Toshniwal
Date: 2023-03-20 (Mon, 20 Mar 2023)
Changed paths:
M web/pgadmin/static/js/api_instance.js
M web/pgadmin/tools/debugger/static/js/DebuggerModule.js
M web/pgadmin/tools/debugger/static/js/components/DebuggerArgumentComponent.jsx
M web/pgadmin/tools/debugger/static/js/components/DebuggerComponent.jsx
M web/pgadmin/tools/debugger/templates/debugger/direct.html
M web/pgadmin/tools/erd/static/js/erd_tool/components/ERDTool.jsx
M web/pgadmin/tools/schema_diff/static/js/components/SchemaDiffComponent.jsx
M web/pgadmin/tools/sqleditor/static/js/components/QueryToolComponent.jsx
M web/regression/javascript/erd/erd_core_spec.js
Log Message:
-----------
Use fetch instead of axios to close connections in SQLEditor, ERD, Schema Diff and Debugger to ensure it completes. When closing a browser tab, axios does not guarantee AJAX request completion. #5894