1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-28 18:45:33 +00:00
openmw-tes3mp/apps
fredzio 9bc687e209 Avoid a rare but possible deadlock around mCollisionWorldMutex.
What happened is that the last handle to an Actor shared_ptr was a
promoted weak_ptr. When the shared_ptr goes out of scope, the Actor dtor
is invoked. That involves removing the Actor collision object after
exclusively locking mCollisionWorldMutex. In this case, the lock was
already held in the outter scope of the promoted weak_ptr.

Reduce the scope of the mCollisionWorldMutex to never encompass the
lifetime of a promoted weak_ptr.
2021-01-09 21:10:29 +01:00
..
bsatool Add compressed BSA support to bsatool 2020-10-23 14:04:21 +03:00
esmtool supress -> suppress 2020-06-27 01:20:57 +02:00
essimporter Use overrides, when needed 2020-06-10 12:58:15 +04:00
launcher Remove deadcode. 2021-01-01 16:54:45 +01:00
mwiniimporter Merge pull request #3018 from akortunov/emplace 2020-11-01 01:58:56 +03:00
niftest Remove NIFFile settings manager dependency 2020-11-09 14:24:48 +03:00
opencs Properly reserve body parts for skirts (bug #5731) 2020-12-11 10:39:57 +03:00
openmw Avoid a rare but possible deadlock around mCollisionWorldMutex. 2021-01-09 21:10:29 +01:00
openmw_test_suite Merge pull request #3032 from akortunov/gtest 2020-12-18 01:46:42 +03:00
wizard Wizard: fix "file is already opened" warning 2020-12-14 03:45:03 +03:00
doc.hpp