Skip to content

直接在 cs 里调用 luaL_error 真的没问题么? #14

@cloudwu

Description

@cloudwu

https://github.com/Tencent/xLua/blob/master/Assets/XLua/Src/StaticLuaCallbacks.cs#L98 类似这种。

这相当于绕过了 mono ,直接 unwind 了 stack frame 。

而 mono 自己 raise exception 需要 unwind stack frame 的时候,可是做了许多额外工作的。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions