too many warnings
This commit is contained in:
parent
1d1018fa0c
commit
70678e44ae
2 changed files with 6 additions and 3 deletions
|
|
@ -27,7 +27,8 @@ Sequence::~Sequence()
|
|||
{
|
||||
KP_LOG_DEBUG("Kompute Sequence Destructor started");
|
||||
|
||||
this->destroy();
|
||||
if (this->mDevice)
|
||||
this->destroy();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -81,7 +82,8 @@ void
|
|||
Sequence::clear()
|
||||
{
|
||||
KP_LOG_DEBUG("Kompute Sequence calling clear");
|
||||
this->end();
|
||||
if (this->isRecording())
|
||||
this->end();
|
||||
}
|
||||
|
||||
std::shared_ptr<Sequence>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue