Removed unnecessary check for null ptr from Renderer::~Renderer