1
0
Fork 0

bts: Make sure stopped is always initialized

When connecting to a wrong hostname the 'stopped' variable
might not be assigned.
This commit is contained in:
Holger Hans Peter Freyther 2012-10-16 21:19:59 +02:00
parent d8fac3b071
commit deb0ecdb00
1 changed files with 12 additions and 0 deletions

View File

@ -69,6 +69,18 @@ Object subclass: BTSConnectionBase [
to the BSC'>
<import: Osmo>
BTSConnectionBase class >> new [
<category: 'creation'>
^ super new
initialize;
yourself.
]
initialize [
<category: 'creation'>
stopped := false.
]
btsId: anId [
<category: 'creation'>
btsId := anId