-
Dmitry Kazakov authored
Lambdas can capture shared pointers, which can potentially prevent temporary paint devices from being released. That is exactly what happened in the tagged-fill tool, the reference paint device was captured by the lambda and never freed (until the undo command is expelled from the stack). BUG:471543