diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-02-16 18:25:23 +0100 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-02-16 18:25:23 +0100 |
| commit | d58ca4cf34b7621aea4e2c1ff07bed6b2cd6b763 (patch) | |
| tree | f96b8eae81d7aa0c2d11eda8bcda1e4b87f96e78 /lib/python/Components/Console.py | |
| parent | 4510fa62a33b31fec442fd0d77eb682d93ebf7e6 (diff) | |
| parent | fbaf2a5f2fa5236b09a4d14f059d99eace24f2d5 (diff) | |
| download | enigma2-d58ca4cf34b7621aea4e2c1ff07bed6b2cd6b763.tar.gz enigma2-d58ca4cf34b7621aea4e2c1ff07bed6b2cd6b763.zip | |
Merge branch 'master' of /home/tmbinc/enigma2-git into tmbinc/FixTimingBugs
Diffstat (limited to 'lib/python/Components/Console.py')
| -rwxr-xr-x[-rw-r--r--] | lib/python/Components/Console.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/python/Components/Console.py b/lib/python/Components/Console.py index f1f3fd95..a41317ea 100644..100755 --- a/lib/python/Components/Console.py +++ b/lib/python/Components/Console.py @@ -55,3 +55,12 @@ class Console(object): if self.callbacks[name]: self.callbacks[name](data,retval,extra_args) del self.callbacks[name] + + def kill(self,name): + if name in self.appContainers: + print "[Console] killing: ",self.appContainers[name] + self.appContainers[name].kill() + + def killAll(self): + for name in self.appContainers: + self.kill(name) |
