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
64a6b5c7
Commit
64a6b5c7
authored
Jan 29, 2019
by
Vinicius Jarina
Browse files
Free tag on Dispose
parent
75de25cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Lua.cs
View file @
64a6b5c7
...
...
@@ -1223,6 +1223,8 @@ end
if
(
translator
!=
null
)
{
translator
.
pendingEvents
.
Dispose
();
if
(
translator
.
Tag
!=
IntPtr
.
Zero
)
Marshal
.
FreeHGlobal
(
translator
.
Tag
);
translator
=
null
;
}
...
...
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