flushIfNotBatching static method

void flushIfNotBatching()

Flush immediately if no explicit batch is currently open.

Implementation

static void flushIfNotBatching() {
  if (_batchDepth == 0) {
    _flush();
  }
}