Make clearCallbacks() public. (#7753)
This commit is contained in:
parent
78e946c450
commit
5063437b0c
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ proc fail*[T](future: Future[T], error: ref Exception) =
|
|||
if getStackTrace(error) == "": getStackTrace() else: getStackTrace(error)
|
||||
future.callbacks.call()
|
||||
|
||||
proc clearCallbacks(future: FutureBase) =
|
||||
proc clearCallbacks*(future: FutureBase) =
|
||||
future.callbacks.function = nil
|
||||
future.callbacks.next = nil
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue