We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 136ec60 commit 7ec783fCopy full SHA for 7ec783f
src/barrier.cpp
@@ -2,7 +2,7 @@
2
// barrier.cpp: Rcpp R/C++ interface class library -- write barrier
3
//
4
// Copyright (C) 2010 - 2020 Dirk Eddelbuettel and Romain Francois
5
-// Copyright (C) 2021 Dirk Eddelbuettel, Romain Francois and Iñaki Ucar
+// Copyright (C) 2021 - 2022 Dirk Eddelbuettel, Romain Francois and Iñaki Ucar
6
7
// This file is part of Rcpp.
8
@@ -119,6 +119,7 @@ void Rcpp_precious_remove(SEXP token) {
119
if (token == R_NilValue || TYPEOF(token) != LISTSXP) {
120
return;
121
}
122
+ SET_TAG(token, R_NilValue);
123
SEXP before = CAR(token);
124
SEXP after = CDR(token);
125
SETCDR(before, after);
0 commit comments