bug pixman_region32_init_rect
I get an error when :
for c in mainContainer.childControls():
    mainContainer.remove(c)

The error is:
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

does anyone know how to fix it ?