Skip to content

Commit

Permalink
Remove unused data member in JavaScript BatchRequestQueue
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Oct 30, 2024
1 parent 3d88570 commit 6a4815c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions js/src/Ice/BatchRequestQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Debug } from "./Debug.js";

export class BatchRequestQueue {
constructor(instance) {
this._batchStreamInUse = false;
this._batchRequestNum = 0;
this._batchStream = new OutputStream(
Protocol.currentProtocolEncoding,
Expand All @@ -29,10 +28,6 @@ export class BatchRequestQueue {
}

finishBatchRequest(os, proxy, operation) {
//
// No need for synchronization, no other threads are supposed
// to modify the queue since we set this._batchStreamInUse to true.
//
this._batchStream.swap(os);

try {
Expand Down

0 comments on commit 6a4815c

Please sign in to comment.