summaryrefslogtreecommitdiffstats
path: root/mono/Service.cs
diff options
context:
space:
mode:
authorOwen Fraser-Green <owen@discobabe.net>2004-05-23 21:33:14 +0000
committerOwen Fraser-Green <owen@discobabe.net>2004-05-23 21:33:14 +0000
commite55e38d8dfc4255282b59a8fa1830f7b0b458685 (patch)
tree71a3b6232b580cd60ecd8f5e13613fab7e8f6856 /mono/Service.cs
parent14d9ef5be9667e3c1ed8447146d38d40b7ddaa62 (diff)
Added UnregisterObject method.
Diffstat (limited to 'mono/Service.cs')
-rw-r--r--mono/Service.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/mono/Service.cs b/mono/Service.cs
index 5dea3113..167cfc4c 100644
--- a/mono/Service.cs
+++ b/mono/Service.cs
@@ -73,6 +73,13 @@ namespace DBus
}
}
+ public void UnregisterObject(object handledObject)
+ {
+ Handler handler = (Handler) registeredHandlers[handledObject];
+ registeredHandlers.Remove(handledObject);
+ handler.Dispose();
+ }
+
public void RegisterObject(object handledObject,
string pathName)
{