app/internal: [Windows] support Window.Close

Signed-off-by: Egon Elbre <egonelbre@gmail.com>
This commit is contained in:
Egon Elbre
2020-06-19 13:04:26 +03:00
committed by Elias Naur
parent c35d81e828
commit 0b713032fb
4 changed files with 13 additions and 8 deletions
-1
View File
@@ -133,7 +133,6 @@ func (w *window) SetAnimating(anim bool) {
}
}
// Close the window. Only implemented for macOS.
func (w *window) Close() {
runOnMain(func() {
// Make sure the view is still valid. The window might've been closed