[go-nuts] Re: [wasm] net/http crashes application

2019-07-31 Thread Patrick Gaubatz
Hi Jihoon, On Wednesday, July 31, 2019 at 5:58:54 AM UTC+2, Jihoon Chung wrote: > > > Changing doFetch() call in goFetch to "go doFetch()" should work. > You're right, this actually fixes the crashes. Thank you so much! Patrick -- You received this message because you are subscribed to the Go

[go-nuts] Re: [wasm] net/http crashes application

2019-07-30 Thread Jihoon Chung
Because the syscall/js doc says, (from https://golang.org/pkg/syscall/js/#FuncOf ) > A wrapped function triggered during a call from Go to JavaScript gets > executed on the same goroutine. A wrapped function triggered by > JavaScript's event loop gets executed on an extra goroutine. Blocking >