What is the effect if the relationship ends while residing on a South African life partner visa?

If the unfortunate happens and the relationship between a South African citizen or permanent residency holder ends while the foreigner is residing on a life partner visa, this visa becomes null and void and the foreigner must seek assistance as soon as possible to find another solution with regards to a different visa in order to continue to reside in South Africa.