void cleanUp() { delete getTheRegistryHub(); getTheRegistryHub() = nullptr; cleanUpContext(); ReusableStringStream::cleanup(); }
IRegistryHub& getRegistryHub() { return *getTheRegistryHub(); }
IMutableRegistryHub& getMutableRegistryHub() { return *getTheRegistryHub(); }
void cleanUp() { delete getTheRegistryHub(); getTheRegistryHub() = NULL; cleanUpContext(); }