Skip to content

Commit 2f7cf65

Browse files
committed
#2562 Reset thread warden on shutdown
1 parent a7643e7 commit 2f7cf65

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

jme3-core/src/main/java/com/jme3/app/SimpleApplication.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,12 @@ public void initialize() {
244244
simpleInitApp();
245245
}
246246

247+
@Override
248+
public void stop(boolean waitFor) {
249+
SceneGraphThreadWarden.reset();
250+
super.stop(waitFor);
251+
}
252+
247253
@Override
248254
public void update() {
249255
if (prof != null) {

0 commit comments

Comments
 (0)