diff --git a/dbus/bus/bus.c b/dbus/bus/bus.c index fd4ab9e..41f5bd5 100644 --- a/dbus/bus/bus.c +++ b/dbus/bus/bus.c @@ -139,8 +139,10 @@ toggle_server_watch (DBusWatch *watch, BusContext *context; context = server_get_context (server); - - _dbus_loop_toggle_watch (context->loop, watch); + if(context) + { + _dbus_loop_toggle_watch (context->loop, watch); + } } static dbus_bool_t