1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-24 06:50:08 +03:00

python: Fix potential crash in tests/thread2.py

Memory debugging must be initialized.
This commit is contained in:
Nick Wellnhofer 2023-09-21 15:13:16 +02:00
parent 72262030a6
commit 89ee0369d2

View File

@ -9,6 +9,9 @@ from threading import Thread, Lock
import setup_test
import libxml2
# Memory debug specific
libxml2.debugMemory(1)
THREADS_COUNT = 15
failed = 0