| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,9 +42,10 @@ public static void Initialize() | |||
| 42 | 42 | ||
| 43 | 43 | public static void Shutdown() | |
| 44 | 44 | { | |
| 45 | - foreach (var ptr in _intern2strings.Keys) | ||
| 45 | + foreach (var entry in _intern2strings) | ||
| 46 | 46 | { | |
| 47 | - Runtime.XDecref(ptr); | ||
| 47 | + Runtime.XDecref(entry.Key); | ||
| 48 | + typeof(PyIdentifier).GetField(entry.Value).SetValue(null, IntPtr.Zero); | ||
| 48 | 49 | } | |
| 49 | 50 | _string2interns = null; | |
| 50 | 51 | _intern2strings = null; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments