fix: timer already closed (#2608)

This commit is contained in:
yetone
2025-08-14 17:55:24 +08:00
committed by GitHub
parent 4eb8bd97e1
commit be0937a459

View File

@@ -989,7 +989,7 @@ function M._stream(opts)
if retry_count <= 0 then
timer:stop()
timer:close()
pcall(function() timer:close() end)
Utils.info("Restarting stream after rate limit pause")
M._stream(opts)