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:
parent
72262030a6
commit
89ee0369d2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user