流行的as3内存释放hack的方法
public static function GC():void {
var lc1 : LocalConnection;
var lc2 : LocalConnection;
try {
lc1 = new LocalConnection();
lc2 = new LocalConnection();
lc1.connect("name");
lc2.connect("name");
} catch (e : Error) {
}
return;
}
流行的as3内存释放hack的方法
public static function GC():void {
var lc1 : LocalConnection;
var lc2 : LocalConnection;
try {
lc1 = new LocalConnection();
lc2 = new LocalConnection();
lc1.connect("name");
lc2.connect("name");
} catch (e : Error) {
}
return;
}