cache: fixed segfault if a block was ever disconnected

This commit is contained in:
itsmattkc
2020-05-16 00:31:24 +10:00
parent 53a2956350
commit a0f2035240
3 changed files with 13 additions and 8 deletions
+1
View File
@@ -458,6 +458,7 @@ void RenderWorker::Init(ViewerOutput* viewer)
void RenderWorker::Close()
{
// Delete all the nodes
qDeleteAll(copy_map_);
copy_map_.clear();