U: CEF Work Schedule

This commit is contained in:
杨红岩 2023-06-12 16:53:26 +08:00
parent 5799bc0da7
commit 534d8356b0

View File

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