tailscale / walk

A Windows GUI toolkit for the Go Programming Language
Other
32 stars 5 forks source link

One InitApp/App/AppendAppInit scheme to rule them all #61

Open dblohm7 opened 6 months ago

dblohm7 commented 6 months ago

Per this discussion, we still have room for improvement concerning app init. Ideally we'd have walk.App() callable from within appInits, and still have some sort of mutual exclusion around InitApp and App calls, and have App be consistently safe to call from any goroutine.

dblohm7 commented 6 months ago

Also App() is currently returning non-nil even if InitApp failed.