mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 18:07:35 +08:00
GPS Sim: Fix destructor
This commit is contained in:
@@ -195,6 +195,8 @@ GPSSIM::GPSSIM(const char *uart_path, bool fake_gps, bool enable_sat_info) :
|
||||
|
||||
GPSSIM::~GPSSIM()
|
||||
{
|
||||
delete _Sat_Info;
|
||||
|
||||
/* tell the task we want it to go away */
|
||||
_task_should_exit = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user