Changing the `affected_drawings_` set in a threaded loop is not safe. Since running the eraser in parallel over multiple drawings is unlikely to improve performance on top of internal threading, handling layers in a simple sequential loop is preferable here. Pull Request: https://projects.blender.org/blender/blender/pulls/135428