8000 removed bad assert in generated constructor for derived classes · pythonnet/pythonnet@7a4daeb · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a4daeb

Browse files
committed
removed bad assert in generated constructor for derived classes
1 parent ab11fa2 commit 7a4daeb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/runtime/classderived.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,8 +808,6 @@ public static void InvokeSetProperty<T>(IPythonDerivedType obj, string propertyN
808808

809809
public static void InvokeCtor(IPythonDerivedType obj, string origCtorName, object[] args)
810810
{
811-
Debug.Assert(Runtime.PyGILState_Check() != 0);
812-
813811
// call the base constructor
814812
obj.GetType().InvokeMember(origCtorName,
815813
BindingFlags.InvokeMethod,

0 commit comments

Comments
 (0)
0