mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-06 07:56:51 +00:00
* synapse.app.base: only call gc.freeze() on CPython gc.freeze() is an implementation detail of CPython garbage collector, and notably does not exist on PyPy. Rather than playing whack-a-mole and skipping the call when under PyPy, simply restrict it to CPython because the whole gc module is implementation-defined. Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
1 line
87 B
Text
1 line
87 B
Text
Restore PyPy compatibility by not calling CPython-specific GC methods when under PyPy.
|