Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

CPU resources are not released after the app exits.#152

Open
akatsuki105 wants to merge 1 commit intomarcusolsson:masterfrom
akatsuki105:goroutine_not_finish
Open

CPU resources are not released after the app exits.#152
akatsuki105 wants to merge 1 commit intomarcusolsson:masterfrom
akatsuki105:goroutine_not_finish

Conversation

@akatsuki105
Copy link
Copy Markdown

@akatsuki105 akatsuki105 commented Dec 1, 2019

Hello. I use your framework to develop a TUI file dialog, "tfd".
This framework is great! But seems to have one bug.
Apps created using this framework will not release CPU resources even if exit with ui.Quit().

For example, if you put time.Sleep(time.Second*10) in the last line in tui-go/example/login/main.go, you can confirm that the CPU resources are not released.

I don't know the details of this framework, but I thought this bug is caused by the for-loop in ui.Run() being kept running.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant