mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 10:18:03 +02:00
nm-sudo: don't register pending job for current operations
Currently we only implmement two operations (Ping() and GetFD()). Both complete right away. There is no need to register a pending job, if the job does not get processed asynchronously. In the future, we may have methods that need asynchronous processing and where we need to register them as pending job.
This commit is contained in:
parent
31c48ec616
commit
9f0984c63b
1 changed files with 0 additions and 2 deletions
|
|
@ -302,8 +302,6 @@ _bus_method_call(GDBusConnection * connection,
|
|||
return;
|
||||
}
|
||||
|
||||
_pending_job_register_object(gl, G_OBJECT(invocation));
|
||||
|
||||
_LOGT("dbus: request sender=%s, %s%s",
|
||||
sender,
|
||||
method_name,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue