diff --git a/src/Sequence.cpp b/src/Sequence.cpp index 4f01891..c151eb9 100644 --- a/src/Sequence.cpp +++ b/src/Sequence.cpp @@ -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; }