From 5c87437542eb0c87a552c2d0689092d9adb09813 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 23 Sep 2019 19:17:14 +0100 Subject: [PATCH] ui/app: (windows) don't unregister window class It silently fails because the Gio window is using it. Signed-off-by: Elias Naur --- ui/app/os_windows.go | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/app/os_windows.go b/ui/app/os_windows.go index 5cc43d30..e71e5757 100644 --- a/ui/app/os_windows.go +++ b/ui/app/os_windows.go @@ -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)),