mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
fix widget_animator_manager_time_elapse use freed memory bug
This commit is contained in:
parent
4d2e3723a5
commit
6fef6fa29a
@ -2,6 +2,7 @@
|
||||
|
||||
* 2018/12/19
|
||||
* 修改combobox弹出窗口位置的BUG。
|
||||
* 修改widget\_animator\_manager中野指针的问题(感谢陈谭提供补丁)。
|
||||
|
||||
* 2018/12/18
|
||||
* widget\_destroy自动判断是否需要异步销毁。
|
||||
|
@ -32,8 +32,10 @@ ret_t widget_animator_manager_time_elapse(widget_animator_manager_t* am, uint32_
|
||||
|
||||
iter = am->first;
|
||||
while (iter != NULL) {
|
||||
widget_animator_t* next = iter->next;
|
||||
|
||||
widget_animator_time_elapse(iter, delta_time);
|
||||
iter = iter->next;
|
||||
iter = next;
|
||||
}
|
||||
|
||||
return RET_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user