1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-22 22:09:42 +00:00
openmw-tes3mp/apps/openmw
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
..
mwbase Make followers keep a distance dependant on the fattest party member 2020-12-25 23:57:01 +01:00
mwclass rename setting 2020-12-07 21:56:41 +01:00
mwdialogue Merge pull request #3018 from akortunov/emplace 2020-11-01 01:58:56 +03:00
mwgui Enhance level-up tooltip 2020-12-28 12:13:09 +04:00
mwinput Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
mwmechanics Switch torches to shields for hostile NPCs 2020-12-29 01:40:30 +00:00
mwphysics Avoid a rare but possible deadlock around mCollisionWorldMutex. 2021-01-09 21:10:29 +01:00
mwrender The debug drawer rely on Bullet to determines the vertices of collision 2021-01-01 17:47:12 +01:00
mwscript Introduce World::moveObjectBy() function to translate an object relatively to 2020-12-18 08:40:38 +01:00
mwsound Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
mwstate Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
mwworld Switch torches to shields for hostile NPCs 2020-12-29 01:40:30 +00:00
android_main.cpp android: Switch to C++ 2019-04-28 18:21:31 -04:00
CMakeLists.txt values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 2020-12-27 22:16:11 +00:00
doc.hpp
engine.cpp Add a setting to disable graphical herbalism 2020-12-07 19:04:32 +01:00
engine.hpp Add stats for all updates 2020-06-30 22:00:23 +02:00
main.cpp Print '--version' and '--help' messages without timestamps 2020-12-08 23:14:49 +01:00