Commit 50b46416 authored by DonLakeFlyer's avatar DonLakeFlyer

parent 5f6bc763
......@@ -39,12 +39,11 @@ void MissionItemTest::init(void)
MAV_TYPE_QUADROTOR,
qgcApp()->toolbox()->firmwarePluginManager(),
this);
}
void MissionItemTest::cleanup(void)
{
delete _offlineVehicle;
_offlineVehicle->deleteLater();
UnitTest::cleanup();
}
......
......@@ -54,7 +54,7 @@ void VisualMissionItemTest::init(void)
void VisualMissionItemTest::cleanup(void)
{
delete _offlineVehicle;
_offlineVehicle->deleteLater();
UnitTest::cleanup();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment