Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Do cgame restarts only at the top level #201
Currently, operations that involve restarting the cgame VM can be called from many different places. All of the shutting down and reinitializing is done, and then the rest of the frame continues executing from wherever it left off. So everything is in a weird state then and there are certain cases where it crashes.
I am working on changing things so that cgame restarts are only done at the top level. The model is
Points in favor of an exception:
Points in favor of not using an exception: