Skip to content

Putting A Table inside deferrals.done() function crashes the server #3030

Open
@Morji789

Description

@Morji789

What happened?

I created a fivem auth system that checkes if a players has an account before entering the server and accidently use a table in the deferrals.done() function's argument, and when i tested it the server had a server crash

image

(i know its stupid but i wanted to report this)

Expected result

The server shouldn't crashed

Reproduction steps

  1. get a table in your code
  2. do this in your code deferrals.done(table)
  3. restart the server and try to enter it
  4. as soon as it gets to the function the server crashes

Importancy

Unknown

Area(s)

FiveM, FXServer, ScRT: Lua

Specific version(s)

FiveM Server 9572 Windows

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ScRT: LuaIssues/PRs related to the Lua scripting runtimebugtriageNeeds a preliminary assessment to determine the urgency and required action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions