TTEnvironment: fix for release code that prevented objects from proper freeing if a _different_ object was already in the process of freeing.