当我创建浏览器XMLHttpRequest并创建事件侦听器(例如load,readystatechange)时,它们的进度会在XHR请求完成(错误/成功)时被破坏,还是我必须手动销毁它们?
像所有其他对象一样,收集了事件发射器和侦听器,因此,当“父” xhr实例为xhr侦听器时,将收集xhr侦听器。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.