mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 11:08:34 +08:00
fix idle manger exist
This commit is contained in:
parent
22dcf5d1ab
commit
1c994b8ef5
@ -159,7 +159,7 @@ bool_t idle_manager_exist(idle_manager_t* idle_manager, idle_func_t on_idle, voi
|
||||
while (iter != NULL) {
|
||||
idle_info_t* idle = (idle_info_t*)(iter->data);
|
||||
|
||||
if (idle->on_idle == idle->on_idle && idle->ctx == ctx) {
|
||||
if (idle->on_idle == on_idle && idle->ctx == ctx) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user