didi/Hummer

在debug调试的时候,手动刷新,同时有网络请求会出现websocket null的错误

wy676579037 opened this issue · 0 comments

在debug调试的时候,手动刷新,同时有网络请求会出现websocket null的错误.
原因分析:因为刷新的时候会销毁掉之前的websocket,页面刷新会重新建立websocket,在这个时候网络请求,就会出现websockt 为null的错误