Skip to content
Commit db529aab authored by Andreas Färber's avatar Andreas Färber
Browse files

vl.c: Guard against GThread double-initialization



GThread-ERROR **: GThread system may only be initialized once.
aborting...

Making the g_thread_init() call in vl.c conditional resolves an abort on
Mac OS X, where coroutine-gthread.c seems to call it before vl.c.

Reported-by: default avatarJuan Pineda <juan@logician.com>
Signed-off-by: default avatarAndreas Färber <andreas.faerber@web.de>
Cc: Daniel P. Berrange <berrange@redhat.com>
parent 351f1bf6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment