mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
fscript do not manage the obj refcount any longer
This commit is contained in:
parent
fa48c39f3d
commit
85ca90a5d5
@ -3,6 +3,7 @@
|
||||
2022/12/28
|
||||
* list\_view\_h控件新添加x\_margin与y\_margin属性,可以设置列表项的边距(感谢泽武提供补丁)
|
||||
* 修复combo box坐标计算错误(感谢雨欣提供补丁)
|
||||
* fscript 不再管obj的引用计数(感谢兆坤提供补丁)
|
||||
|
||||
2022/12/26
|
||||
* 修复绑定slide\_indicator的value时,slide\_view没有改变当前页的问题(感谢兆坤提供补丁)。
|
||||
|
@ -921,7 +921,6 @@ ret_t fscript_clean(fscript_t* fscript) {
|
||||
static ret_t fscript_reset(fscript_t* fscript) {
|
||||
return_value_if_fail(fscript != NULL, RET_FAIL);
|
||||
|
||||
TK_OBJECT_UNREF(fscript->obj);
|
||||
fscript_hook_on_deinit(fscript);
|
||||
fscript_clean(fscript);
|
||||
|
||||
@ -2129,10 +2128,6 @@ static fscript_t* fscript_load(fscript_t* fscript, tk_object_t* obj, const char*
|
||||
}
|
||||
fscript_parser_error_deinit(&error);
|
||||
|
||||
if (fscript != NULL) {
|
||||
TK_OBJECT_REF(obj);
|
||||
}
|
||||
|
||||
return fscript;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user