settle method

void settle([
  1. String reason = 'closed'
])

The game settled for reason: the slot frees. Never throws.

Implementation

void settle([String reason = 'closed']) {
  try {
    _cancelWatchdog();
    _onTimeout = null;
    _visible = false;
    _slot = GameLaunchSlot.free;
    try {
      _visibleFlow.add(false);
    } catch (_) {}
    _log.d('Game slot freed (reason=$reason)');
  } catch (_) {}
}