Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Connection.GetObject: do not check that the bus name exists #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,6 @@ internal void HandleMethodCall (MessageContainer method_call)

public object GetObject (Type type, string bus_name, ObjectPath path)
{
if (!CheckBusNameExists (bus_name))
return null;

//if the requested type is an interface, we can implement it efficiently
//otherwise we fall back to using a transparent proxy
if (type.IsInterface || type.IsAbstract) {
Expand Down