netCon: connection.NetConnection = connection.createNetConnection()
netCon.register((error: BusinessError) => {
LoggerUtil.info(TAG, "register --> " + JSON.stringify(error));
});
出现错误:
{"code":2101022,"message":"the number of requests exceeded the maximum”}
当前报错返回2101022可能是没有调用unregister导致请求数量超过最大值,可在请求完成监听时添加that.netConnection.unregister取消监听。