I develop air extension for ios and mac os x.
I use the same code on ios and mac.
For ios all good.
But on mac - have problems.
In extension I use std::vector. Code example:
vector<Type*>* types;
types = new vector<Type*>();
Type* type = new Type();
types->push_back(type);
Application crashed by line:
types->push_back(type);
I tried add try/catch block - but application crashed too.
I don't know what wrong. This code is work fine on ios and in console application for mac.