stopServices method
Implementation
Future<void> stopServices() async {
// Stop services in reversed order so children shut down before their parents do
for (var service in runningServices.reversed) {
var obj = service.obj;
var descriptor = service.descriptor;
await descriptor.stop(this as DarwinSystem, obj);
}
runningServices.clear();
}