-
Notifications
You must be signed in to change notification settings - Fork 2.1k
fix the device crach appeared when the device fallback is performed #11818
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
Conversation
Interface Check ReportThis pull request does not change any public interfaces ! |
| }); | ||
| if (!_mainMessageQueue) { | ||
| if(_actor) { | ||
| _actor->destroy(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need to set _actor to nullptr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need. The actor is intrusive and can be deleted automatically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not IntrusivePtr now. It is a raw pointer. It is deleted in DeviceAgent destructor.
|
@yiwenxue, Please check the result of
|
|
@yiwenxue, Please check the result of
|
|
@cocos-robot run test cases |
|
@yiwenxue, Please check the result of
|
|
@yiwenxue, Please check the result of
|
|
@yiwenxue, Please check the result of
|
|
@yiwenxue, Please check the result of
|
|
@yiwenxue, Please check the result of
|
|
@yiwenxue, Please check the result of
|
Re: #https://github.com/cocos/3d-tasks/issues/12474#issue-1255571596
Changelog
Continuous Integration
This pull request:
Compatibility Check
This pull request: