mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-12 07:44:57 +00:00
libwaku waku_destroy should invoke callback when success
This commit is contained in:
parent
1fa916589d
commit
243d466aa7
@ -162,6 +162,8 @@ proc waku_destroy(
|
||||
callback(RET_ERR, unsafeAddr msg[0], cast[csize_t](len(msg)), userData)
|
||||
return RET_ERR
|
||||
|
||||
let msg = "correctly destroyed"
|
||||
callback(RET_OK, unsafeAddr msg[0], cast[csize_t](len(msg)), userData)
|
||||
return RET_OK
|
||||
|
||||
proc waku_version(
|
||||
|
Loading…
x
Reference in New Issue
Block a user