Fixed fatal error when reaching end of file

This commit is contained in:
matlabbe
2024-08-18 21:08:49 -07:00
parent 7253450251
commit 7aa143fa95

View File

@@ -105,7 +105,7 @@ class OusterCaptureThread : public UThread {
{
UERROR("Not received any frames since 5 seconds, try to restart the camera again.");
}
else
else if(this->isRunning())
{
ouster::LidarScan scan;
{