| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d5fcfa4 commit fa47957
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -86,7 +86,7 @@ internal static void Stash() | |||
| 86 | 86 | ||
| 87 | 87 | ClearCLRData(); | |
| 88 | 88 | NewReference capsule = PyCapsule_New(mem, null, IntPtr.Zero); | |
| 89 | - PySys_SetObject("clr_data", capsule); | ||
| 89 | + PySys_SetObject("clr_data", capsule.DangerousGetAddress()); | ||
| 90 | 90 | // Let the dictionary own the reference | |
| 91 | 91 | capsule.Dispose(); | |
| 92 | 92 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments