From cf78b98a3032c8e9ad19c82aa45377397a98c27f Mon Sep 17 00:00:00 2001 From: misitebao Date: Wed, 22 Sep 2021 01:49:10 +0800 Subject: [PATCH] feat: remove the quit method exposed by the app class --- app.tmpl.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app.tmpl.go b/app.tmpl.go index 02b9224..1d5ebd5 100644 --- a/app.tmpl.go +++ b/app.tmpl.go @@ -2,8 +2,6 @@ package main import ( "context" - - "github.com/wailsapp/wails/v2/pkg/runtime" ) // App struct @@ -31,9 +29,3 @@ func (b *App) shutdown(ctx context.Context) { // Perform your teardown here // 在此处做一些资源释放的操作 } - -// Quit Exit the application -// Quit 退出应用 -func (b *App) Quit() { - runtime.Quit(b.ctx) -}