app: must set GimpDrawTool's widget to NULL when a tools is halted
We were leaking all tool widgets set with gimp_draw_tool_set_widget(), and those having signal connections to e.g. the display shell were doing things when they were supposed to be gone. Fixes make check.
Showing with 19 additions and 14 deletions