Function Karana::Core::allDestroyed

Function Karana::Core::allDestroyed#

Function Documentation#

bool Karana::Core::allDestroyed(BaseContainer *bc = nullptr)#

Checks if all Base objects have been destroyed with the exception of anything that is a zombie object. This issues warnings for anything that has not been destroyed.

Parameters:

bc – Pointer to the base container to check. If nullptr is provided (the default), then the BaseContainer::singleton will be used.

Returns:

True if all objects have been destroyed, false otherwise.