commit | f5f346835693c5509c511fda7249a6f30302bf53 | [log] [tgz] |
---|---|---|
author | unknown <ktye78@gmail.com> | Sun Jun 03 14:26:11 2018 +0200 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Jun 04 04:07:59 2018 +0000 |
tree | 6b1c15fcb8b944525eecc28e24d91b6825be56a9 | |
parent | d20ef58a6d3868bfe9617c393f93ed4547fee7ff [diff] |
shiny/driver/internal/win32: send WM_CLOSE on Release Calling DestroyWindow in Release is not allowed when running on a different thread than the message pump. This sends a WM_CLOSE message instead, that is handled by the message pump itself. Fixes golang/go#25671 Change-Id: Ie8610a8385faa2746dc7eabac11edc1106e8bb6e Reviewed-on: https://go-review.googlesource.com/115998 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.