Skip to content
Snippets Groups Projects
Commit 750ab873 authored by Lorenz Meier's avatar Lorenz Meier Committed by Beat Küng
Browse files

GPS Sim: Fix destructor

parent 9cfd46b8
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment