jonkeane commented on code in PR #45261:
URL: https://github.com/apache/arrow/pull/45261#discussion_r1915716742
##########
r/src/safe-call-into-r-impl.cpp:
##########
@@ -46,11 +46,7 @@ bool SetEnableSignalStopSource(bool enabled) {
// [[arrow::export]]
bool CanRunWithCapturedR() {
-#if defined(HAS_UNWIND_PROTECT)
return MainRThread::GetInstance().Executor() == nullptr;
-#else
- return false;
-#endif
Review Comment:
Do we need this function at all anymore? Or another way: does
`MainRThread::GetInstance().Executor() == nullptr` ever return false?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]