mirror of https://github.com/watcha-fr/synapse
Close `ijson` coroutines ourselves instead of letting the GC close them (#12875)
Hopefully this means that exceptions raised due to truncated JSON get a sensible logging context and stack. Signed-off-by: Sean Quah <seanq@matrix.org>code_spécifique_watcha
parent
7b88f5a107
commit
bb7a637765
@ -0,0 +1 @@ |
||||
Explicitly close `ijson` coroutines once we are done with them, instead of leaving the garbage collector to close them. |
Loading…
Reference in new issue