fix memory leak among other things

This commit is contained in:
Keyvan Fatehi
2023-01-22 01:04:10 -08:00
parent 9bde383511
commit 35d9498e2e
4 changed files with 79 additions and 15 deletions

View File

@@ -63,7 +63,7 @@ if __name__ == "__main__":
async def test():
frame_count=0
start_time=time_ns()
track = VisionIpcTrack("roadEncodeData", "192.168.99.200")
track = VisionIpcTrack("roadEncodeData", "tici")
while True:
await track.recv()
now = time_ns()
@@ -81,4 +81,4 @@ if __name__ == "__main__":
try:
loop.run_until_complete(test())
except KeyboardInterrupt:
sys.exit(0)
sys.exit(0)