Select to view content in your preferred language

Destrying Object in ArcGIS Runtime SDK 10.2.6

855
1
11-16-2016 01:18 AM
tanerkoka
Frequent Contributor

Hi,

How can I destroy object in ArcGIS Runtime SDK 10.2.6 API ? Here is the example how to create object:

var query= ArcGISRuntime.createObject("Query");

Thanks

Tags (2)
0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

I've not tried this, but perhaps you could try the destroy method? Dynamic QML Object Creation from JavaScript | Qt QML 5.7 

Also, if the object has gone out of scope, you can force garbage collection with "gc()" - QML Global Object | Qt QML 5.7 

0 Kudos