sales was never marked as running and caused a hang (#655)
This commit is contained in:
parent
54c6258e8d
commit
39554c8ea9
|
@ -503,6 +503,7 @@ proc start*(sales: Sales) {.async.} =
|
||||||
await sales.load()
|
await sales.load()
|
||||||
await sales.startSlotQueue()
|
await sales.startSlotQueue()
|
||||||
await sales.subscribe()
|
await sales.subscribe()
|
||||||
|
sales.running = true
|
||||||
|
|
||||||
proc stop*(sales: Sales) {.async.} =
|
proc stop*(sales: Sales) {.async.} =
|
||||||
trace "stopping sales"
|
trace "stopping sales"
|
||||||
|
|
Loading…
Reference in New Issue