Added clearing of operations within sequence to ensure all resources are cleared
This commit is contained in:
parent
9077e95fc9
commit
16f49a7c87
1 changed files with 5 additions and 0 deletions
|
|
@ -244,6 +244,11 @@ Sequence::freeMemoryDestroyGPUResources()
|
|||
SPDLOG_DEBUG("Kompute Sequence Destroyed CommandPool");
|
||||
}
|
||||
|
||||
if (this->mOperations.size()) {
|
||||
SPDLOG_INFO("Kompute Sequence clearing operations buffer");
|
||||
this->mOperations.clear();
|
||||
}
|
||||
|
||||
this->mIsInit = false;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue