ui/app: (windows) don't unregister window class

It silently fails because the Gio window is using it.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-09-23 19:17:14 +01:00
parent 8e41c8a0be
commit 5c87437542
-1
View File
@@ -219,7 +219,6 @@ func createNativeWindow(opts *windowOptions) (*window, error) {
if err != nil {
return nil, err
}
defer unregisterClass(cls, hInst)
wr := rect{
right: int32(cfg.Px(opts.Width)),
bottom: int32(cfg.Px(opts.Height)),