Commit 6574e5eb57da52d9072a196af70e7406b8757a35

Sylvain 2023-03-28T09:48:58

Safety fix: clear "_this->current_glwin" when destroying the window (cherry picked from commit 0c048d98af449f1bc540e256c90eb792f1effff4)