remove lines carried over from merge

This commit is contained in:
gmega 2024-03-01 18:52:36 -03:00
parent 03c221f306
commit b26b648e90
No known key found for this signature in database
GPG Key ID: FFD8DAF00660270F

View File

@ -192,11 +192,11 @@ proc finish(fut: FutureBase, state: FutureState) =
# 1. `finish()` is a private procedure and `state` is under our control.
# 2. `fut.state` is checked by `checkFinished()`.
fut.internalState = state
when chronosProfiling:
if not isNil(onBaseFutureEvent):
onBaseFutureEvent(fut, state)
when chronosStrictFutureAccess:
doAssert fut.internalCancelcb == nil or state != FutureState.Cancelled
fut.internalCancelcb = nil # release cancellation callback memory
for item in fut.internalCallbacks.mitems():
if not(isNil(item.function)):