diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-06-14 13:01:18 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-06-14 13:03:40 +0300 |
commit | d64cd6f7ee6322685c485b68118f8e987723f20b (patch) | |
tree | 9994f34a680eb7defc54200e942e4c7b4d733b63 /release | |
parent | 17b029d80efaf51df55cd1133718d1cf69aa244f (diff) |
Move call to drw_state_ensure_not_reused() inside the region locked by DST.gl_context_mutex.
Currently with a debug build there is a race condition where the mutex is released before the DST structure is reset to 0xFF, meaning when multiple threads are using the DRWManager it can get cleared when the main thread is using it, causing crashes.
Reviewers: fclem, brecht
Reviewed By: fclem
Tags: #bf_blender_2.8
Differential Revision: https://developer.blender.org/D3476
Diffstat (limited to 'release')
m--------- | release/scripts/addons | 0 | ||||
m--------- | release/scripts/addons_contrib | 0 |
2 files changed, 0 insertions, 0 deletions
diff --git a/release/scripts/addons b/release/scripts/addons -Subproject ebd058d7a6438d137522063bb3286c8acc325ca +Subproject 8f2fd7e23f0b5ce023440182f51c40e88d66332 diff --git a/release/scripts/addons_contrib b/release/scripts/addons_contrib -Subproject 474702157831f1a58bb50f5240ab8b1b02b6ba3 +Subproject 34a27a42d781d80f9f1833bad8cc5b2abcac293 |