Skip to content

Commit

Permalink
Fix error when cancelling an incomplete cache operation
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonomit committed Oct 3, 2024
1 parent 67c694b commit ca8f28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ItemCache.lua
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function CallbackController:Resume()
return self
end
function CallbackController:Cancel()
if not self:IsComplete() and not self.cancelled then
if not self:IsComplete() and not private(self).cancelled then
private(self).cancelled = true
ItemDB:UnregisterCallbackController(self)
end
Expand Down

0 comments on commit ca8f28a

Please sign in to comment.