[ios]


#1

Found a bug in beta3 2.1.1

When I run the director then end it and run again - I have exception accessing dangling shareddirectorcaller pointer.

In CCDirectorCaller.mm destroy does not clean a shared pointer.

It should be

*destroy
{
;
s_sharedDirectorCaller = nil;
}
Instead of
*(void) destroy
{
[s\_sharedDirectorCaller release];
}