Blender Git Loki

Git Commits -> Revision cde18cf

Revision cde18cf by Sergey Sharybin (master)
October 24, 2016, 11:47 (GMT)
Cycles: Fix static initialization order fiasco

Initialization order of global stats and node types was not strictly
defined and it was possible to have node types initialized first and
stats after that. This will zero out memory which was allocated from
the statistics causing assert failure when de-initializing node types.

Commit Details:

Full Hash: cde18cf3b349a3a4d3b435fd3f76e5304ee446d6
Parent Commit: 963aa7e
Lines Changed: +4, -1

2 Modified Paths:

/intern/cycles/util/util_guarded_allocator.cpp (+1, -1) (Diff)
/intern/cycles/util/util_stats.h (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021