Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
2cab813f
Commit
2cab813f
authored
Apr 07, 2014
by
Vinicius Jarina
Browse files
Fixed #72 Coroutine NRE .
parent
1523aa96
Changes
3
Show whitespace changes
Inline
Side-by-side
KeraLua
@
b0376e18
Compare
2cbb3f6b
...
b0376e18
Subproject commit
2cbb3f6bf29d7e337c1894637f3a894abcc76483
Subproject commit
b0376e18f8fb50447aec2370533b394e79bbba18
KopiLua
@
2752601e
Compare
ead739dd
...
2752601e
Subproject commit
ead739ddf2c
ce1f
6db53330cee1bfae8db72234c
Subproject commit
2752601e979483
ce
d
1f
0681772bbe68b16c56adb
Core/NLua/ObjectTranslatorPool.cs
View file @
2cab813f
...
...
@@ -59,10 +59,15 @@ namespace NLua
public
ObjectTranslator
Find
(
LuaState
luaState
)
{
if
(!
translators
.
ContainsKey
(
luaState
))
return
null
;
if
(
translators
.
ContainsKey
(
luaState
))
return
translators
[
luaState
];
LuaState
main
=
LuaCore
.
LuaNetGetMainState
(
luaState
);
if
(
translators
.
ContainsKey
(
main
))
return
translators
[
main
];
return
null
;
}
public
void
Remove
(
LuaState
luaState
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment