When the two examples (BlockGame and CartPole) finish running the PGE process doesn't shutdown, and requires the process to be killed on Linux or for a Windows OS to forcibly terminate the application.
A PGE window can be closed during examples running, and the Python side picks up the socket close. This issue is covers the case for when the Python side of an example finishes and leaves the PGE window/process still running.
When the two examples (BlockGame and CartPole) finish running the PGE process doesn't shutdown, and requires the process to be killed on Linux or for a Windows OS to forcibly terminate the application.
A PGE window can be closed during examples running, and the Python side picks up the socket close. This issue is covers the case for when the Python side of an example finishes and leaves the PGE window/process still running.