forked from Archive/PX4-Autopilot
GPS Sim: Fix destructor
This commit is contained in:
parent
9cfd46b87c
commit
750ab87303
|
@ -195,6 +195,8 @@ GPSSIM::GPSSIM(const char *uart_path, bool fake_gps, bool enable_sat_info) :
|
||||||
|
|
||||||
GPSSIM::~GPSSIM()
|
GPSSIM::~GPSSIM()
|
||||||
{
|
{
|
||||||
|
delete _Sat_Info;
|
||||||
|
|
||||||
/* tell the task we want it to go away */
|
/* tell the task we want it to go away */
|
||||||
_task_should_exit = true;
|
_task_should_exit = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue