mirror of
https://github.com/logos-storage/apatheia.git
synced 2026-01-05 22:43:10 +00:00
segfault
This commit is contained in:
parent
13e1f1d63b
commit
417b3f7afc
@ -33,7 +33,7 @@ proc finalizer(obj: DataObj) =
|
||||
|
||||
proc runTest(tp: TaskPool, queue: SignalQueue[int]) {.async.} =
|
||||
## init
|
||||
var obj: DataObj
|
||||
var obj: DataObj
|
||||
new(obj, finalizer)
|
||||
|
||||
obj.holder.data = cast[ptr UncheckedArray[char]](alloc0(13))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user