Moving the call to add_current, to after we set self._parent to None. Avoids a case where the reference to the parent is lost while inside the context manager.
Moving the call to add_current, to after we set self._parent to None.
Avoids a case where the reference to the parent is lost while inside the
context manager.

theodox/mGui