| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -547,9 +547,11 @@ _PyEval_FiniGIL(PyInterpreterState *interp) | |||
| 547 | 547 | return; | |
| 548 | 548 | } | |
| 549 | 549 | else if (!interp->ceval.own_gil) { | |
| 550 | + #ifdef Py_DEBUG | ||
| 550 | 551 | PyInterpreterState *main_interp = _PyInterpreterState_Main(); | |
| 551 | 552 | assert(interp != main_interp); | |
| 552 | 553 | assert(interp->ceval.gil == main_interp->ceval.gil); | |
| 554 | + #endif | ||
| 553 | 555 | interp->ceval.gil = NULL; | |
| 554 | 556 | return; | |
| 555 | 557 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments