Skip to content

Commit

Permalink
optimise one
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Nov 23, 2023
1 parent c81f134 commit c5a490f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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: 0.10.4.9011
Version: 0.10.4.9012
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
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nanonext 0.10.4.9011 (development)
# nanonext 0.10.4.9012 (development)

#### New Features

Expand All @@ -13,7 +13,7 @@
+ registered 'refhook' functions apply to external pointer type objects only.
* `until()` updated to be identical to `.until()`, returning FALSE instead of TRUE if the timeout has been reached.
* `pipe_notify()` arguments 'add', 'remove' and 'flag' now default to FALSE instead of TRUE for easier selective specification of the events to signal.
* Fixes potential segfault at `ncurl()` when the relocation address is missing and 'follow' is set to TRUE.
* Fixes regression in release 0.10.4 that caused a potential segfault using `ncurl()` with 'follow' set to TRUE when the server returns a missing or invalid relocation address.
* The weak references interface is removed as 'non-core'.
* Applies fix nanomsg/nng#1702 to bundled 'libnng' v1.6.0 (a54820f).
* Upgrades bundled 'libmbedtls' to v 3.5.1.
Expand Down
1 change: 0 additions & 1 deletion src/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,6 @@ SEXP rnng_signal_thread_create(SEXP cv, SEXP cv2) {
SEXP xptr = R_MakeExternalPtr(duo, R_NilValue, R_NilValue);
Rf_setAttrib(cv, nano_CvSymbol, xptr);
R_RegisterCFinalizerEx(xptr, thread_duo_finalizer, TRUE);
R_MakeWeakRef(xptr, cv, R_NilValue, FALSE);

return cv2;

Expand Down

0 comments on commit c5a490f

Please sign in to comment.