close method
FR-DASH-008
Implementation
Future<void> close() async {
final bundle = _currentBundle;
if (bundle == null) {
_currentRuntime = null;
return;
}
await _runtime.removeRuntime(_runtimeHandle(bundle.id));
_currentRuntime = null;
_currentBundle = null;
_logger.info('Dashboard closed');
}