Skip to content

scripting: Guard against the case where a window is destroyed after changing visibility

Vlad Zahorodnii requested to merge work/insane-scripting-work-around into master

If the visiblityChanged signal is emitted and then the window is immediately destroyed, the slot will still be executed because the connection has type of Qt::QueuedConnection.

Merge request reports