Skip to content

Commit dc99364

Browse files
authored
Merge pull request processing#4839 from JakubValtar/fix-zombie-process
Allow JAVA2D to terminate when animation thread dies
2 parents af392ae + e9f8d87 commit dc99364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/processing/core/PSurfaceNone.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public boolean stopThread() {
207207

208208

209209
public boolean isStopped() {
210-
return thread == null;
210+
return thread == null || !thread.isAlive();
211211
}
212212

213213

0 commit comments

Comments
 (0)