222464 / PGE

PGE: Parallel Game Engine
Other
98 stars 15 forks source link

PGE application shutdown #5

Open rcrowder opened 8 years ago

rcrowder commented 8 years ago

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.