关于 stm 模块的疑问
#1474
Replies: 2 comments 2 replies
-
stm 不维护了,不再建议使用。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
如果找不到非此不可的理由,不要用数据内存共享的方式同步数据。 发消息。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在 WIKI-STM 中说到:
我看了一下代码,
只是简单的将指针传递给了 Lua,为什么会说:
通常一定要把这个 lightuserdata 传到需要读取这份数据的服务。随意丢弃这个指针会导致内存泄露。
Beta Was this translation helpful? Give feedback.
All reactions