Skip to content

Commit a7aabfd

Browse files
VatsalPVatsal Parekh
andauthored
Close window after popping the value from store (#137)
Co-authored-by: Vatsal Parekh <vatsal.parekh@egen.solutions>
1 parent ec3ac3e commit a7aabfd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

faust/tables/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,7 @@ async def _del_old_keys(self) -> None:
375375
if keys_to_remove:
376376
for key in keys_to_remove:
377377
value = self.data.pop(key, None)
378-
if key[1][0] > self.last_closed_window:
379-
await self.on_window_close(key, value)
378+
await self.on_window_close(key, value)
380379
self.last_closed_window = max(
381380
self.last_closed_window,
382381
max(key[1][0] for key in keys_to_remove),

0 commit comments

Comments
 (0)