From: Patrik Flykt <[email protected]>

Use session.Destroy() instead of the Manager API DestroySession()
method call.
---
 test/test-session |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/test-session b/test/test-session
index 119faca..7613b10 100755
--- a/test/test-session
+++ b/test/test-session
@@ -104,7 +104,7 @@ class SessionApplication(dbus.service.Object):
                if not s:
                        return
                if s['session']:
-                       self.manager.DestroySession(s['session_path'])
+                       s['session'].Destroy()
                        s['session'] = None
                if s['notify']:
                        s['notify'].remove_from_connection()
-- 
1.7.2.5

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to