This commit is contained in:
alexander-g 2021-03-11 20:30:30 +01:00
parent 70678e44ae
commit c6c89ac75a
2 changed files with 6 additions and 3 deletions

View file

@ -27,8 +27,9 @@ Sequence::~Sequence()
{
KP_LOG_DEBUG("Kompute Sequence Destructor started");
if (this->mDevice)
if (this->mDevice) {
this->destroy();
}
}
void
@ -82,8 +83,9 @@ void
Sequence::clear()
{
KP_LOG_DEBUG("Kompute Sequence calling clear");
if (this->isRecording())
if (this->isRecording()) {
this->end();
}
}
std::shared_ptr<Sequence>