Fix what I believe is a bug: when removing all previous handlers,
should copy the handlers list because it's being modified by the loop.
1 file changed