forked from bartvdbraak/blender
Windows: Disable tbbmalloc for debug builds.
TBBMalloc seems to have a race condition somewhere on shutdown that seems to show up in debug builds only, ideally we find the issue and send a patch upstream but due to its racy nature it has eluded capture so far. This patch disables TBBMalloc for debug builds so that developers that actually need to get some work done can work without being bothered by this misbehaviour.
This commit is contained in:
parent
373e936e3e
commit
44f18ce0a6
@ -29,7 +29,7 @@
|
||||
# include "utfconv.h"
|
||||
#endif
|
||||
|
||||
#if defined(WITH_TBB_MALLOC) && defined(_MSC_VER)
|
||||
#if defined(WITH_TBB_MALLOC) && defined(_MSC_VER) && defined(NDEBUG)
|
||||
# pragma comment(lib, "tbbmalloc_proxy.lib")
|
||||
# pragma comment(linker, "/include:__TBB_malloc_proxy")
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user