Don't rethrow exceptions, just let them pass through
This commit is contained in:
parent
35e5b64606
commit
135671cc20
@ -848,8 +848,6 @@ class B2World(
|
|||||||
if (autoClearForces) {
|
if (autoClearForces) {
|
||||||
clearForces()
|
clearForces()
|
||||||
}
|
}
|
||||||
} catch(err: Throwable) {
|
|
||||||
throw RuntimeException("Caught an exception simulating physics world", err)
|
|
||||||
} finally {
|
} finally {
|
||||||
isLocked = false
|
isLocked = false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user