8000 Soft shutdown review comments 2 by BadSingleton · Pull Request #3 · amos402/pythonnet · GitHub
[go: up one dir, main page]

Skip to content

Soft shutdown review comments 2 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
8000
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert local changes
  • Loading branch information
amos402 authored and BadSingleton committed Sep 10, 2020
commit fa89b487dd377bb0ae36a45cd41cb9da7f15bc8d
2 changes: 1 addition & 1 deletion src/runtime/typemanager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ private static void InitMethods(IntPtr pytype, Type type)
mi[0] = method;
MethodObject m = new TypeMethod(type, method_name, mi);
Runtime.PyDict_SetItemString(dict, method_name, m.pyHandle);
//m.DecrRefCount();
m.DecrRefCount();
addedMethods.Add(method_name);
}
}
Expand Down
0