Merge pull request #4839 from JakubValtar/fix-zombie-process

Allow JAVA2D to terminate when animation thread dies
This commit is contained in:
Ben Fry
2017-01-29 10:42:36 -05:00
committed by GitHub

View File

@@ -207,7 +207,7 @@ public class PSurfaceNone implements PSurface {
public boolean isStopped() {
return thread == null;
return thread == null || !thread.isAlive();
}