Closed MiKom closed 4 months ago
examples\qtquick\mdi\main.cpp
QTimer::singleShot(std::chrono::seconds(3), [&]{ delete dw1; delete dw2; });
qtquick_mdi.exe
dw1 and dw2 are properly deleted and disappear taking their children with them.
dw1
dw2
Application crashes with the following stacktrace: https://gist.github.com/MiKom/e9fe77c45004a2139a8410ba0c90740e
Fixed in 18663268bb521733cac6df6418809f179cbe0a01
Environment
Steps to reproduce
examples\qtquick\mdi\main.cpp
:qtquick_mdi.exe
exampleExpected result
dw1
anddw2
are properly deleted and disappear taking their children with them.Actual result
Application crashes with the following stacktrace: https://gist.github.com/MiKom/e9fe77c45004a2139a8410ba0c90740e