---
title: "stop(reason:)"
framework: networkextension
role: symbol
role_heading: Instance Method
path: "networkextension/nehotspotevaluationprovider/stop(reason:)"
---

# stop(reason:)

Tells the exension to stop the evaluation provider, in response to a request from the framework.

## Declaration

```swift
func stop(reason: NEProviderStopReason) async
```

## Parameters

- `reason`: The reason for stopping the provider.

## Discussion

Discussion Perform any needed cleanup tasks in your implementation of this method. After stopping, the provider receives no further commands from the framework.

## See Also

### Managing provider life cycle

- [start()](networkextension/nehotspotevaluationprovider/start().md)
- [NEProviderStopReason](networkextension/neproviderstopreason.md)
