mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
37717d0df9
The goroutine started by Window.run runs concurrently with the user goroutine receiving from Window.Events, leading to races such as #543. This change replaces the Window.run goroutine and the Window.Events channel with an iterator API driven by the user goroutine directly. Fixes: https://todo.sr.ht/~eliasnaur/gio/543 Signed-off-by: Elias Naur <mail@eliasnaur.com>