Bug, Last unit getting Mind Controlled

As the title says.

Was on a Secure the area mission, when my last unit got Mind Controlled it threw me into an infinite loop of enemy turns forcing me to Alt F4 out