gradle
8.4

# disconnect

abstract fun disconnect()(source)

Disconnects all ProjectConnection instances created by this connector.

Calling this method tries to do a best effort to clean up resources used by the tooling API. It tries to cancel any builds and shut down running daemons.

After calling `disconnect`, creating new project connections will be rejected and the existing ones created by this instance will also deny future build operations.