Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash caused by physics proxy management #783

Merged
merged 4 commits into from
Aug 29, 2017
Merged

Conversation

pandamicro
Copy link
Contributor

@pandamicro
Copy link
Contributor Author

@2youyou2 remove proxy 还不够,还需要设置 jsobj 的 private 为 nullptr,否则会导致崩溃

@pandamicro pandamicro merged commit 716657d into cocos:v1.6 Aug 29, 2017
@2youyou2
Copy link
Contributor

@dumganhar 在 1.7 有对这块做重构,不需要 remove proxy 了

@pandamicro
Copy link
Contributor Author

嗯,1.7 box2d 是用 C++ 控制 JS 的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants