[android-components](../../index.md) / [mozilla.components.support.images](../index.md) / [CancelOnDetach](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`CancelOnDetach(job: Job)`

Cancels the provided job when a view is detached from the window

