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
Magicqy committed Jan 19, 2021
1 parent 1c6d6f7 commit 92272f3
Show file tree
Hide file tree
Showing 3 changed files with 170 additions and 156 deletions.
Loading

0 comments on commit 92272f3

Please sign in to comment.