diff --git a/src/core/linux/SDL_dbus.c b/src/core/linux/SDL_dbus.c index 8f3462fc2..713b94e1e 100644 --- a/src/core/linux/SDL_dbus.c +++ b/src/core/linux/SDL_dbus.c @@ -139,9 +139,14 @@ SDL_DBus_Quit(void) dbus.connection_close(dbus.session_conn); dbus.connection_unref(dbus.session_conn); } +/* Don't do this - bug 3950 + dbus_shutdown() is a debug feature which closes all global resources in the dbus library. Calling this should be done by the app, not a library, because if there are multiple users of dbus in the process then SDL could shut it down even though another part is using it. +*/ +#if 0 if (dbus.shutdown) { dbus.shutdown(); } +#endif SDL_zero(dbus); UnloadDBUSLibrary(); }