osthread: I'm pretty sure this should fix it

This commit is contained in:
judah 2026-01-11 21:23:45 -07:00
parent 41b74c5b14
commit 573f042f39

View file

@ -27,13 +27,13 @@ func Start(entrypoint func()) {
done := make(chan any)
// Immediately queue entrypoint
Go(func() {
go func() {
defer func() {
done <- nil
}()
entrypoint()
})
}()
// Call functions in our queue until entrypoint returns.
// These functions are called on the main operating system thread.