public void onTearDown() {
        try {
            // Clear references to parent components
            mScene = null;
            mViroContext = null;
            
            // Reset state flags
            mParentHasAppeared = false;
            
            // Mark as torn down
            mTornDown = true;
        } catch (Exception e) {
            // Log error but don't crash
            android.util.Log.e(TAG, "Error during component base teardown: " + e.getMessage());
        }
    }
Invoked when it is safe to cleanup the view, and
native references (renderer references) can be safely deleted.
This is only invoked after the view is dropped by the
NativeViewHierarchyManager, *and* the view has been removed
from the tree via removeViewAt from its parent.

Children should override and invoke this super method.
android/viro_bridge/src/main/java/com/viromedia/bridge/component/VRTComponent.java