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.
Showing
Please
register
or
sign in
to comment
should copy the handlers list because it's being modified by the loop.