mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-05 23:43:07 +00:00
libwaku invoke callback within waku_destroy (#3228)
This commit is contained in:
parent
c52e43a0ac
commit
c725c96609
@ -195,6 +195,9 @@ proc waku_destroy(
|
|||||||
callback(RET_ERR, unsafeAddr msg[0], cast[csize_t](len(msg)), userData)
|
callback(RET_ERR, unsafeAddr msg[0], cast[csize_t](len(msg)), userData)
|
||||||
return RET_ERR
|
return RET_ERR
|
||||||
|
|
||||||
|
## always need to invoke the callback although we don't retrieve value to the caller
|
||||||
|
callback(RET_OK, nil, 0, userData)
|
||||||
|
|
||||||
return RET_OK
|
return RET_OK
|
||||||
|
|
||||||
proc waku_version(
|
proc waku_version(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user