| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1ecdce8 commit b35f441
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -113,8 +113,7 @@ internal bool IsStatic() | |||
| 113 | 113 | ||
| 114 | 114 | private void ClearMembers() | |
| 115 | 115 | { | |
| 116 | - Runtime.XDecref(doc); | ||
| 117 | - doc = IntPtr.Zero; | ||
| 116 | + Runtime.Py_CLEAR(ref doc); | ||
| 118 | 117 | if (unbound != null) | |
| 119 | 118 | { | |
| 120 | 119 | Runtime.XDecref(unbound.pyHandle); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments