We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e207a commit c8f0f09Copy full SHA for c8f0f09
src/runtime/runtime.cs
@@ -714,7 +714,7 @@ internal static unsafe void XDecref(StolenReference op)
714
{
715
#if DEBUG
716
Debug.Assert(op == null || Refcount(new BorrowedReference(op.Pointer)) > 0);
717
- Debug.Assert(_isInitialized || Py_IsInitialized() != 0 || _Py_IsFinalizing() == true);
+ Debug.Assert(_isInitialized || Py_IsInitialized() != 0 || _Py_IsFinalizing() != false);
718
#endif
719
#if !CUSTOM_INCDEC_REF
720
if (op == null) return;
0 commit comments