feat: remove the quit method exposed by the app class

This commit is contained in:
misitebao 2021-09-22 01:49:10 +08:00
parent 9e8488c6d2
commit cf78b98a30

View File

@ -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)
}