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

os.exit does not exist #3080

Closed
poco8537 opened this issue Jan 18, 2025 · 1 comment
Closed

os.exit does not exist #3080

poco8537 opened this issue Jan 18, 2025 · 1 comment
Labels

Comments

@poco8537
Copy link
Contributor

What happened?

It seems that os.exit has been removed in this change: db5d0ad#diff-49b50806fa6cb7a7950185fbbcebed701e0db0964094375e220c20d028430d7a. Was the removal of os.exit intentional?

Expected result

When the os.exit function is executed, the server will shut down.

Reproduction steps

  1. The os.exit function is executed.
  2. An error occurs: attempt to call a nil value (field 'exit').

Importancy

Unknown

Area(s)

FXServer

Specific version(s)

FXServer-master SERVER v1.0.0.12135 win32

Additional information

No response

@poco8537 poco8537 added bug triage Needs a preliminary assessment to determine the urgency and required action labels Jan 18, 2025
@DaniGP17
Copy link
Contributor

Yes, it was intentional. If you want more information and you are in the experimental group, you can see it here: https://forum.cfx.re/t/lua-sandboxing-on-the-server/5285919/55

@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants