finishCreation method

void finishCreation(
  1. bool published
)

Ends the synchronous factory/adoption phase, including its failure path.

Implementation

void finishCreation(bool published) {
  if (!_creating) return;
  _creating = false;
  if (!published) _requestClose();
  _advance();
}