mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
GCS/uavobjects: Change to addAutoReleasedObject()
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@333 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
2a6b764c4c
commit
e16c51289c
@ -47,7 +47,7 @@ bool UAVObjectsPlugin::initialize(const QStringList & arguments, QString * error
|
||||
{
|
||||
// Create object manager and expose object
|
||||
UAVObjectManager* objMngr = new UAVObjectManager();
|
||||
addObject(objMngr);
|
||||
addAutoReleasedObject(objMngr);
|
||||
// Initialize UAVObjects
|
||||
UAVObjectsInitialize(objMngr);
|
||||
// Done
|
||||
|
Loading…
x
Reference in New Issue
Block a user