fix for successful run on ci
This commit is contained in:
parent
4513a3fde0
commit
a7121e30ce
|
@ -74,7 +74,7 @@ func new*(_: type Sales,
|
||||||
))
|
))
|
||||||
|
|
||||||
proc remove(sales: Sales, agent: SalesAgent): OnCleanUp =
|
proc remove(sales: Sales, agent: SalesAgent): OnCleanUp =
|
||||||
proc: Future[void] {.gcsafe, upraises:[], async.} =
|
proc(): Future[void] {.gcsafe, upraises:[], async.} =
|
||||||
await agent.stop()
|
await agent.stop()
|
||||||
sales.agents.keepItIf(it != agent)
|
sales.agents.keepItIf(it != agent)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue