| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -148,8 +148,9 @@ protected static void ClearObjectDict(BorrowedReference ob) | |||
| 148 | 148 | { | |
| 149 | 149 | BorrowedReference type = Runtime.PyObject_TYPE(ob); | |
| 150 | 150 | int instanceDictOffset = Util.ReadInt32(type, TypeOffset.tp_dictoffset); | |
| 151 | - Debug.Assert(instanceDictOffset > 0); | ||
| 152 | - Runtime.Py_CLEAR(ob, instanceDictOffset); | ||
| 151 | + // Debug.Assert(instanceDictOffset > 0); | ||
| 152 | + if (instanceDictOffset > 0) | ||
| 153 | + Runtime.Py_CLEAR(ob, instanceDictOffset); | ||
| 153 | 154 | } | |
| 154 | 155 | ||
| 155 | 156 | protected static BorrowedReference GetObjectDict(BorrowedReference ob) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments