Skip to content

Commit

Permalink
USB/IP: Fix refresh pipe cleanup
Browse files Browse the repository at this point in the history
Delete real pipe instead of temporary pipe.
  • Loading branch information
holesch committed Feb 11, 2024
1 parent b556e95 commit f6ad8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion not_my_board/_usbip.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ async def _refresh_task(device):
await pipe.read(4096)
device.refresh()
finally:
tmp_path.unlink()
pipe_path.unlink()


@contextlib.asynccontextmanager
Expand Down

0 comments on commit f6ad8bf

Please sign in to comment.