Telemetry + uploadFromBitmapData == Memory leak, crash
Hi all,
This bug/crash is a memory leak that only occurs when utilizing texture upload and -advanced-telemetry at the same time.
Testcase at: http://onetacoshort.com/temp/telemetry_leak.zip
Testcase README file is as follows:
Using Scout to debug an app compiled with -advanced-telemetry using the new ASC2.0 compiler, uploading textures via:
flash.display3D.textures.Texture.uploadFromBitmapData(bd);
causes a memory leak and eventual crash. Observed when using AIR 3.6 - 3.8 on both iOS and Android.
Memory usage in the "Other" category rises infinityly in steps until the app crashes (see scout_screenshot_telemetry.jpg).

If compiled without -advanced-telemetry, the app runs properly (see scout_screenshot_without.jpg)

Note that if the Testcase app is not connected to a Scout instance (i.e. Adobe Scout app not installed, or not enabled), it does not crash.
So it's probably not critical, but it's a testing irritation.
Best,
-Jeff
