| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -256,6 +256,9 @@ public static void SetError(Exception e) | |||
| 256 | 256 | var pe = e as PythonException; | |
| 257 | 257 | if (pe != null) | |
| 258 | 258 | { | |
| 259 | + Runtime.XIncref(pe.PyType); | ||
| 260 | + Runtime.XIncref(pe.PyValue); | ||
| 261 | + Runtime.XIncref(pe.PyTB); | ||
| 259 | 262 | Runtime.PyErr_Restore(pe.PyType, pe.PyValue, pe.PyTB); | |
| 260 | 263 | return; | |
| 261 | 264 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments