// clear and remove INPUT side buffer pools
for (GateID id : environment.getInputGateIDs()) {
LocalBufferPoolOwner bufferPool = this.localBuffersPools.remove(id);
if (bufferPool != null) {
bufferPool.clearLocalBufferPool();
}
}
// clear and remove OUTPUT side buffer pool
LocalBufferPoolOwner bufferPool = this.localBuffersPools.remove(executionId);