> For the complete documentation index, see [llms.txt](https://forgenet.gitbook.io/fluent-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://forgenet.gitbook.io/fluent-documentation/documentation/guide/hints.md).

# Hints

This page contains some useful guides

## Disable coroutines when exiting Fluent window

{% hint style="info" %}
You can check if Fluent is unloaded and break coroutines loops
{% endhint %}

```lua
function Test()
    while task.wait() do
        print("something")
        if Fluent.Unloaded then break end
    end
end

coroutine.resume(coroutine.create(Test))

```
