{ }
This commit is contained in:
parent
70678e44ae
commit
c6c89ac75a
2 changed files with 6 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue