We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 266175a commit fc3f109Copy full SHA for fc3f109
internal/driver/glfw/loop.go
@@ -170,13 +170,14 @@ func (d *gLDriver) runSingleFrame() (exit, animationsDone bool) {
170
select {
171
case f := <-funcQueue.Out():
172
f.f()
173
- f.done <- struct{}{}
+ if f.done != nil {
174
+ f.done <- struct{}{}
175
+ }
176
default:
177
funcsDone = true
178
}
179
180
-
181
// apply settings change if any
182
settingsMutex.Lock()
183
set := settingsToApply
0 commit comments