---
title: controllerWillClose
framework: kernel
role: pseudoSymbol
path: kernel/ioethernetinterface/1810684-controllerwillclose
---

# controllerWillClose

A notification that the interface will close the network controller.

## Declaration

```occ
virtual void controllerWillClose(
 IONetworkController *controller); 
```

## Parameters

- `controller`: The controller that is about to be closed.

## Overview

Overview This method will simply call super to propagate the method call. This method is called with the arbitration lock held.

## See Also

### Miscellaneous

- [controllerDidChangePowerState](kernel/ioethernetinterface/1810626-controllerdidchangepowerstate.md)
- [controllerDidOpen](kernel/ioethernetinterface/1810636-controllerdidopen.md)
- [controllerWillChangePowerState](kernel/ioethernetinterface/1810670-controllerwillchangepowerstate.md)
- [free](kernel/ioethernetinterface/1810696-free.md)
- [getNamePrefix](kernel/ioethernetinterface/1810711-getnameprefix.md)
- [init](kernel/ioethernetinterface/1810722-init.md)
- [performCommand](kernel/ioethernetinterface/1810736-performcommand.md)
