Skip to content

Commit

Permalink
Merge pull request #58 from shikokuchuo/restore
Browse files Browse the repository at this point in the history
Restore
  • Loading branch information
shikokuchuo authored Nov 13, 2024
2 parents a1deb15 + d6705b5 commit 69185fc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: nanonext
Type: Package
Title: NNG (Nanomsg Next Gen) Lightweight Messaging Library
Version: 1.3.0.9004
Version: 1.3.0.9009
Description: R binding for NNG (Nanomsg Next Gen), a successor to ZeroMQ. NNG is
a socket library implementing 'Scalability Protocols', a reliable,
high-performance standard for common communications patterns including
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nanonext 1.3.0.9004 (development)
# nanonext 1.3.0.9009 (development)

#### Updates

Expand Down
3 changes: 0 additions & 3 deletions src/aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ static void iaio_finalizer(SEXP xptr) {
nng_aio_free(xp->aio);
if (xp->data != NULL)
R_Free(xp->data);
// release linked list node if cb has already run
if (xp->cb != NULL && TAG((SEXP) xp->cb) == R_NilValue)
nano_ReleaseObject((SEXP) xp->cb);
R_Free(xp);

}
Expand Down
3 changes: 1 addition & 2 deletions src/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,8 @@ static void thread_disp_finalizer(SEXP xptr) {
ncv->condition = -1;
nng_cv_wake(cv);
nng_mtx_unlock(mtx);
if (xp->tls != NULL) {
if (xp->tls != NULL)
nng_tls_config_free(xp->tls);
}
nng_thread_destroy(xp->thr);
nng_url_free(xp->up);
for (int i = 0; i < xp->n; i++) {
Expand Down

0 comments on commit 69185fc

Please sign in to comment.