Fix error deadlock

@slimsag can you test please
As I said before for some unknown reason it doesn't work on my windows
machine. I was thinking maybe it was related to some internal threading
done by GLFW, but if it works for you then it might be a Windows related
thing. I'll check.
On 30 Aug 2014 09:03, "slimsag" <notifications@github.com> wrote:

> In error.go:
>
> > @@ -35,7 +35,13 @@ var lastError = make(chan *GLFWError, 1)
> >
> >  //export goErrorCB
> >  func goErrorCB(code C.int, desc *C.char) {
> > -	lastError <- &GLFWError{ErrorCode(code), C.GoString(desc)}
> > +	go func() {
>
> Why spawn a goroutine? The default statement is enough to not cause
> deadlocks.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/go-gl/glfw3/pull/86/files#r16928189>.
>