Hello mates.
Im not absolutely sure on one thing so i vish to hear your opinions and experience.
So after some tests i start to think, vhen model is deleted its action permanently deletes too so not letting it to execute some important lines.
Small example:
action darbiba()
{
//some initialization here
STRING* stringulio = str_create("blablabla");
while(my != NULL)
{
//do something here
wait(1);
}
//and here is some thing deleting
ptr_remove(stringulio);
}
So hov you see cycle vorks vhen model exists, but vhen its not anymore it should delete string, but it dont happens for me - so i decided about proccess vhat i said in first paragraph.
I think this vorked in c-script.