Html doc fixes

This commit is contained in:
William S Fulton 2015-07-05 16:55:52 +01:00
commit 3b859ab539
4 changed files with 11 additions and 9 deletions

View file

@ -495,8 +495,10 @@ the C++ object when the Go object is freed. It is strongly recommended to read
the <a href="https://golang.org/pkg/runtime/#SetFinalizer">runtime.SetFinalizer
</a> documentation before using this technique to understand the
<tt>runtime.SetFinalizer</tt> limitations.<br>
<br>
</p>
<p>
Common pitfalls with <tt>runtime.SetFinalizer</tt> are:
</p>
<ul>
<li>
If a hierarchy of C++ objects will be automatically freed by Go finalizers then
@ -514,7 +516,6 @@ The Go finalizer function typically runs in a different OS thread which can be
problematic with C++ code that uses thread-local storage.
</li>
</ul>
</p>
<p>
<tt>runtime.SetFinalizer</tt> Example: