I doubt you wanted to unregister the same handler twice. Is this simply accidentally duplicated or is it trying to do something else?