App: Fix possible crash when postponing the destruction of a removed property
Fixes #18601
This commit is contained in:
@@ -213,6 +213,7 @@ struct PropertyCleaner
|
||||
auto p = _RemovedProps.back();
|
||||
_RemovedProps.pop_back();
|
||||
if (p != prop) {
|
||||
p->setContainer(nullptr);
|
||||
delete p;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user