Skip to content

Commit

Permalink
🐛 Frontend: Do not call :close n times while closing hanging wind…
Browse files Browse the repository at this point in the history
…ows (#5697)
  • Loading branch information
odeimaiz authored Apr 19, 2024
1 parent 9d6af12 commit 0f056a7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,9 @@ qx.Class.define("osparc.utils.Utils", {
children.forEach(child => {
const isWindow = "modal" in qx.util.PropertyUtil.getAllProperties(child.constructor);
if (isWindow) {
child.close();
// Do not call .close(), it will trigger the close signal and it might not be handled correctly
child.hide();
child.dispose();
}
});
},
Expand Down

0 comments on commit 0f056a7

Please sign in to comment.