소스 검색

Fix negative pending requests bug

Zed 3 년 전
부모
커밋
84dcf49079
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/tokens.nim

+ 0 - 1
src/tokens.nim

@@ -116,7 +116,6 @@ proc release*(account: GuestAccount) =
 proc getGuestAccount*(api: Api): Future[GuestAccount] {.async.} =
   for i in 0 ..< accountPool.len:
     if result.isReady(api): break
-    release(result)
     result = accountPool.sample()
 
   if not result.isNil and result.isReady(api):