Clear registration_pending during registration
Otherwise switch_main_context will keep trying to remove it and schedule yet another one.
Fixes at-spi2-core#16
Otherwise switch_main_context will keep trying to remove it and schedule yet another one.
Fixes at-spi2-core#16