diff --git a/DESCRIPTION b/DESCRIPTION index ed525f617..8286df527 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: nanonext Title: NNG (Nanomsg Next Gen) Lightweight Messaging Library -Version: 1.7.0.9000 +Version: 1.7.0.9001 Authors@R: c( person("Charlie", "Gao", , "charlie.gao@posit.co", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-0750-061X")), diff --git a/src/aio.c b/src/aio.c index 6d8d603e0..ab98f4956 100644 --- a/src/aio.c +++ b/src/aio.c @@ -151,7 +151,6 @@ static void raio_complete_interrupt(void *arg) { #ifdef _WIN32 UserBreak = 1; #else - R_interrupts_pending = 1; kill(getpid(), SIGINT); #endif } diff --git a/src/nanonext.h b/src/nanonext.h index 9548ac642..9327278c3 100644 --- a/src/nanonext.h +++ b/src/nanonext.h @@ -98,8 +98,6 @@ typedef struct nano_handle_s { #if defined(NANONEXT_SIGNALS) #ifdef _WIN32 #include -#else -extern int R_interrupts_pending; #endif #endif diff --git a/src/sync.c b/src/sync.c index 7c5fdab50..5ac0f7842 100644 --- a/src/sync.c +++ b/src/sync.c @@ -151,8 +151,6 @@ void pipe_cb_signal(nng_pipe p, nng_pipe_ev ev, void *arg) { #ifdef _WIN32 raise(sig); #else - if (sig == SIGINT) - R_interrupts_pending = 1; kill(getpid(), sig); #endif