mirror of
https://github.com/processing/processing4.git
synced 2026-02-10 17:19:25 +01:00
Merge pull request #4839 from JakubValtar/fix-zombie-process
Allow JAVA2D to terminate when animation thread dies
This commit is contained in:
@@ -207,7 +207,7 @@ public class PSurfaceNone implements PSurface {
|
||||
|
||||
|
||||
public boolean isStopped() {
|
||||
return thread == null;
|
||||
return thread == null || !thread.isAlive();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user