-
Jehan authored
When the histogram is freed, we need to set valid to FALSE, in order to force recreation as soon as needed. Otherwise we may hit some race condition of trying to work with a NULL histogram. For instance this happened when starting painting fast enough after switching the active image.
35352519