app: fix a line art leak in bucket fill tool.
Introduced in commit b4e12fbb: gimp_pickable_contiguous_region_prepare_line_art_async() was running gimp_pickable_flush(), which provokes the "rendered" signal on the image projection when a change occured. As a result, it was calling gimp_bucket_fill_compute_line_art() within itself and since tool->priv->async was not set yet, none of the call were canceled. Hence the same line art is computed twice, but one is leaked. Make sure we block this signal handler as a solution.
Showing with 11 additions and 0 deletions