Caltoopia/caltoopia-calvin

Memory management is incomplete

Opened this issue · 1 comments

Actors can be reclaimed using a DESTROY command. However, this command will not reclaim the actors automatically created to handle teleports.

Moreover, there is no mechanism to remove registered actor classes. Such a mechanism would also need to treat the teleport actor classes (auto-generated at runtime in actors-teleport) specially.

Also the destroy command sometimes makes other actors that were consumers of a producing destroyed actor's tokens do a bad access in the pre-firing checks if any tokens available.