From 02593e9bb2046d537d1612630acb511263705423 Mon Sep 17 00:00:00 2001 From: Abraxa Date: Wed, 3 Sep 2008 05:32:45 +0000 Subject: [PATCH] Make PyneoControl.gsm_hangup() delete terminated calls from its internal list git-svn-id: http://www.neo1973-germany.de/svn@122 46df4e5c-bc4e-4628-a0fc-830ba316316d --- epydial/epydial.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/epydial/epydial.py b/epydial/epydial.py index 726bab4..ff027e8 100755 --- a/epydial/epydial.py +++ b/epydial/epydial.py @@ -257,6 +257,9 @@ class PyneoController(object): call = call_obj if call: call.Hangup(dbus_interface=DIN_CALL) + + # Remove the call from our list + class_._calls.__delitem__(call_obj) @classmethod def on_gsm_wireless_status(class_, status_map):