src/EventLoopUnix.cpp [103:119]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    _isEventHandlerRunning = false;
    R_interrupts_pending = false;
  }
}

bool isEventHandlerRunning() {
  return _isEventHandlerRunning;
}

void runImmediateTasks() {
  std::function<void()> f;
  if (immediateQueue.poll(f)) {
    WithOutputHandler withOutputHandler(emptyOutputHandler);
    WithDebuggerEnabled withDebugger(false);
    do {
      f();
    } while (immediateQueue.poll(f));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/EventLoopWin.cpp [97:113]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    _isEventHandlerRunning = false;
    R_interrupts_pending = false;
  }
}

bool isEventHandlerRunning() {
  return _isEventHandlerRunning;
}

void runImmediateTasks() {
  std::function<void()> f;
  if (immediateQueue.poll(f)) {
    WithOutputHandler withOutputHandler(emptyOutputHandler);
    WithDebuggerEnabled withDebugger(false);
    do {
      f();
    } while (immediateQueue.poll(f));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



