From 534d8356b04cda45db651fa3080eee5b62029c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E7=BA=A2=E5=B2=A9?= Date: Mon, 12 Jun 2023 16:53:26 +0800 Subject: [PATCH] U: CEF Work Schedule --- cef/application.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cef/application.go b/cef/application.go index 8a96d30b..45f348b2 100644 --- a/cef/application.go +++ b/cef/application.go @@ -111,7 +111,6 @@ func (m *TCEFApplication) StopScheduler() { func (m *TCEFApplication) Destroy() { imports.Proc(def.CEFApplication_Destroy).Call() - GlobalWorkSchedulerDestroy() } func (m *TCEFApplication) Free() { @@ -238,7 +237,7 @@ func (m *TCEFApplication) SetOnRenderLoadError(fn GlobalCEFAppEventOnRenderLoadE imports.Proc(def.CEFGlobalApp_SetOnRenderLoadError).Call(api.MakeEventDataPtr(fn)) } -func (m *TCEFApplication) SetOnScheduleMessagePumpWork(fn GlobalCEFAppEventOnRenderLoadError) { +func (m *TCEFApplication) SetOnScheduleMessagePumpWork(fn GlobalCEFAppEventOnScheduleMessagePumpWork) { var callback uintptr if fn != nil { callback = api.MakeEventDataPtr(fn)