Commit e7379a4
committed
Nullify batchRequestId immediatelly
Sometimes the library threw unhandledException
that parseParams is undefined in parseResponse.js:312
It happens because a single requestId is assigned to two different
requests, and after the first one is done, the info for second request
is deleted.
A single requestId is assigned because of the batch implementation.
After executeBatch function, the global _batchRequestId is not nulled,
so any further request will get the same requestId, until executeBatch
promise is not finished.1 parent 8e94116 commit e7379a4
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1474 | 1474 | | |
1475 | 1475 | | |
1476 | 1476 | | |
| 1477 | + | |
1477 | 1478 | | |
1478 | 1479 | | |
1479 | 1480 | | |
1480 | | - | |
1481 | | - | |
1482 | 1481 | | |
1483 | 1482 | | |
1484 | 1483 | | |
| |||
0 commit comments