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)),