Skip to content

Commit

Permalink
修复异常的抛出点被重置;修复方法调用过程中执行了Dispose触发异常处理错误
Browse files Browse the repository at this point in the history
1. 显式调用throw e会重置异常的抛出点,不方便定位原始异常的位置
2. 调用函数过程中如果执行到Dispose,使得类成员中的LuaState被提前置空,此时如果再触发异常则Catch中取到的luaState是一个空值,产生新的异常
  • Loading branch information
quyong committed Jan 8, 2021
1 parent 1c6d6f7 commit c73baa6
Showing 1 changed file with 81 additions and 57 deletions.
Loading

0 comments on commit c73baa6

Please sign in to comment.