| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -392,7 +392,12 @@ internal static unsafe int BaseUnmanagedClear(BorrowedReference ob) | |||
| 392 | 392 | using var dict = Runtime.PyObject_GenericGetDict(ob); | |
| 393 | 393 | if (Runtime.PyMapping_HasKey(dict.Borrow(), PyIdentifier.__clear_reentry_guard__) != 0) | |
| 394 | 394 | return 0; | |
| 395 | - int res = Runtime.PyDict_SetItem(dict.Borrow(), PyIdentifier.__clear_reentry_guard__, Runtime.None); | ||
| 395 | + | ||
| 396 | + int res = Runtime.PyDict_SetItem( | ||
| 397 | + dict.Borrow(), | ||
| 398 | + PyIdentifier.__clear_reentry_guard__, | ||
| 399 | + Runtime.PyTrue | ||
| 400 | + ); | ||
| 396 | 401 | if (res != 0) return res; | |
| 397 | 402 | ||
| 398 | 403 | res = clear(ob); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments