Fixed #3600, errors raised in modules when a chart was destroyed in its own callback.
Merge remote-tracking branch 'upstream/master'