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

In some cases, calling os.exit() will raise an error. #484

Closed
wzhengsen opened this issue Aug 30, 2021 · 2 comments
Closed

In some cases, calling os.exit() will raise an error. #484

wzhengsen opened this issue Aug 30, 2021 · 2 comments
Labels
bug Something isn't working cocos2dx The issue present in original cocos2dx
Milestone

Comments

@wzhengsen
Copy link
Contributor

  • adxe version: lastest
  • devices test on: 华为 HONOR
  • developing environments
    • NDK version: 22.1.7171670
    • Android Studio: 4.2
    • cmake version:
      Steps to Reproduce:
  1. Play any sound effect once;
  2. Call lua function: os.exit();
  3. Raise an error.

image

@halx99
Copy link
Collaborator

halx99 commented Dec 15, 2021

see also: #550

halx99 added a commit that referenced this issue Dec 15, 2021
Invoke AudioEngine::end before Director destroyed, because it hold scheduler belong Director.
@halx99
Copy link
Collaborator

halx99 commented Dec 15, 2021

This issue should be fixed by the upstream commit: 8ab6ad0

@halx99 halx99 closed this as completed Dec 15, 2021
@halx99 halx99 added bug Something isn't working cocos2dx The issue present in original cocos2dx and removed needs-confirm labels Dec 15, 2021
@halx99 halx99 added this to the 1.0 milestone Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cocos2dx The issue present in original cocos2dx
Projects
None yet
Development

No branches or pull requests

2 participants