mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
OP-306 Scope plugin: destroy the widget explicitely when the gadget is removed. Should improve stability on the GCS. If so, I will generalize this on all current plugins.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2642 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
d7f074a765
commit
2dfc907a8c
@ -85,7 +85,11 @@ void ScopeGadget::loadConfiguration(IUAVGadgetConfiguration* config)
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
Scope gadget destructor: should delete the associated
|
||||
scope gadget widget too!
|
||||
*/
|
||||
ScopeGadget::~ScopeGadget()
|
||||
{
|
||||
|
||||
delete m_widget;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user