From 345438106dd56882cd6c083140913abde529db77 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 21 Oct 2012 15:49:21 +0200 Subject: testphone: Return the GSMConnection to the caller sync calls --- TestPhone.st | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TestPhone.st b/TestPhone.st index f2f4777..ffdc00a 100644 --- a/TestPhone.st +++ b/TestPhone.st @@ -141,8 +141,8 @@ Object subclass: IPAConfig [ yourself ] sendLU: aPhone [ - (self doLU: aPhone) - openConnection; waitForTermination. + ^ (self doLU: aPhone) + openConnection; waitForTermination; yourself ] doCallNumber: aPhone nr: aNr [ @@ -153,7 +153,7 @@ Object subclass: IPAConfig [ callNumber: aPhone nr: aNumber [ ^ (self doCallNumber: aPhone nr: aNumber) - openConnection; waitForTermination. + openConnection; waitForTermination; yourself ] doUSSD: aPhone nr: aNr [ @@ -164,7 +164,7 @@ Object subclass: IPAConfig [ sendUSSD: aPhone nr: aNr [ ^ (self doUSSD: aPhone nr: aNr) - openConnection; waitForTermination. + openConnection; waitForTermination; yourself ] ] -- cgit v1.2.3