lib/client: fix batch cleanup
This commit is contained in:
+1
-1
@@ -299,7 +299,7 @@ export default class Client extends EventTarget {
|
|||||||
// Delete after firing the message event so that handlers can access
|
// Delete after firing the message event so that handlers can access
|
||||||
// the batch
|
// the batch
|
||||||
if (deleteBatch) {
|
if (deleteBatch) {
|
||||||
this.batches.delete(name);
|
this.batches.delete(deleteBatch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user