Skip to content

[lua] downloader binding breaks other custom class registering #19253

@sonyps5201314

Description

@sonyps5201314

lua_cocos2dx_network_manual.cpp中
调用register_downloader后将导致之后无法再注册成功用户的自定义类了,注释掉就恢复了,坑爹啊。
以后能不能测试后再合并用户提交的代码到主分支啊。自己重现吧,难得提交重现代码了,没时间。应该是register_downloader内部写法不规范导致的。不会用就别强撸嘛,老老实实tolua_beginmodule,tolua_endmodule不好吗?

English:
A call to register_downloader will result in a custom class that cannot be registered with a successful user.
Can the code that user submits be merged again after testing later advocate branch.Redo it yourself, it's hard to submit new code, no time.Should be register_downloader internal writing is not standardized.If you don't know how to use it, don't use it. Honestly, tolua_beginmodule, tolua_endmodule, is that bad?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions