-
Thomas Haller authored
_nm_utils_init() is a __attribute__((constructor)) function, that is, it runs during dlopen(). On the other head, g_module_open() itself calls dlopen(). It is prone to deadlock. Don't do it. The check is only an aggressive assertion to crash the application if it wrongly loads libnm and libnm-util/libnm-glib at the same time. If that happens, all is lost already. We can just as well call the assertion later. It's not supposed to fail anyway. https://bugzilla.gnome.org/show_bug.cgi?id=796804
4444db6b