mirror of
https://gitee.com/energye/energy.git
synced 2024-11-29 18:28:06 +08:00
U: CEF Work Schedule
This commit is contained in:
parent
5799bc0da7
commit
534d8356b0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user