Skip to content

Commit

Permalink
Merge d96d7ac into e19d8c2
Browse files Browse the repository at this point in the history
  • Loading branch information
iche033 authored Apr 5, 2023
2 parents e19d8c2 + d96d7ac commit 8adcd18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CameraSensor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ CameraSensor::CameraSensor()
//////////////////////////////////////////////////
CameraSensor::~CameraSensor()
{
if (this->Scene() && this->dataPtr->camera)
{
this->Scene()->DestroySensor(this->dataPtr->camera);
}
}

//////////////////////////////////////////////////
Expand Down

0 comments on commit 8adcd18

Please sign in to comment.