fix: Do not use unsafe work queue for auto archiving (#1116)

This commit is contained in:
Kamron Batman 2022-07-14 11:27:29 -07:00 committed by GitHub
parent a4168dc219
commit 0d19a5ff99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 8 deletions

View file

@ -119,7 +119,8 @@ public partial class Timer
{
RefillPool(amountToRefill, out var head, out var tail);
return (head, tail);
}
},
Core.ClosingTokenSource.Token
);
ReturnToPool(amountToRefill, headTimer, tailTimer);