dispose

fun dispose()

Disposes the content compositions registered as composing under this recomposer, then cancels the recomposer, disposes the clock - which is what withdraws it from EventDispatchHook - and cancels the scope they run on. Idempotent.

Must be called on the Event Dispatch Thread.