doc: error event is optionally emitted after .destroy()
#26589
Closed
error event is optionally emitted after .destroy()
#26589