mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-23 01:52:48 +03:00
python: Fix potential crash in tests/thread2.py
Memory debugging must be initialized.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user