skelterjohn / go.wde

Windows, drawing and events for Go
217 stars 46 forks source link

[burntsushi from irc] ensureConnection lock #1

Closed BurntSushi closed 12 years ago

BurntSushi commented 12 years ago

I'm not sure why, but when I removed the 'connLock.Lock() and 'defer connLock.Unlock()' from your 'ensureConnection()' function, things seemed to work better. (i.e., I got two mapped windows.)