mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-25 03:35:28 +00:00
![Ivan Shapovalov](/assets/img/avatar_default.png)
* 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>
2 lines
87 B
Plaintext
2 lines
87 B
Plaintext
Restore PyPy compatibility by not calling CPython-specific GC methods when under PyPy.
|