8000 Reflect PR #35 · QuantConnect/pythonnet@dbc92aa · GitHub
[go: up one dir, main page]

Skip to content

Commit dbc92aa

Browse files
committed
Reflect PR #35
1 parent 0aad082 commit dbc92aa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/runtime/assemblymanager.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,13 @@ internal static void ScanAssembly(Assembly assembly)
264264
{
265265
return;
266266
}
267+
268+
// skip this assembly, it causes 'GetTypes' call to hang
269+
if (assembly.FullName.StartsWith("System.Windows.Forms"))
270+
{
271+
return;
272+
}
273+
267274
// A couple of things we want to do here: first, we want to
268275
// gather a list of all of the namespaces contributed to by
269276
// the assembly.

0 commit comments

Comments
 (0)
0